[Rt-commit] r18701 - rt/3.999/trunk/lib/RT/Model
clkao at bestpractical.com
clkao at bestpractical.com
Thu Mar 5 02:24:05 EST 2009
Author: clkao
Date: Thu Mar 5 02:24:04 2009
New Revision: 18701
Modified:
rt/3.999/trunk/lib/RT/Model/Group.pm
Log:
Fix invocant for limit_to_members_of_group.
Modified: rt/3.999/trunk/lib/RT/Model/Group.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Model/Group.pm (original)
+++ rt/3.999/trunk/lib/RT/Model/Group.pm Thu Mar 5 02:24:04 2009
@@ -707,7 +707,7 @@
#If we don't have rights, don't include any results
# TODO XXX WHY IS THERE NO ACL CHECK HERE?
- my $res = $self->new( current_user => $self->current_user );
+ my $res = $class->new( current_user => $self->current_user );
$res->limit_to_members_of_group( $self->id );
return $res;
More information about the Rt-commit
mailing list