[Rt-commit] r18239 - in rt/3.999/branches/merge_to_3.8.2: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Feb 5 02:48:27 EST 2009


Author: sunnavy
Date: Thu Feb  5 02:48:27 2009
New Revision: 18239

Modified:
   rt/3.999/branches/merge_to_3.8.2/   (props changed)
   rt/3.999/branches/merge_to_3.8.2/lib/RT/Dashboard.pm

Log:
 r19617 at sunnavys-mb:  sunnavy | 2009-02-05 15:36:28 +0800
 tiny fix


Modified: rt/3.999/branches/merge_to_3.8.2/lib/RT/Dashboard.pm
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/lib/RT/Dashboard.pm	(original)
+++ rt/3.999/branches/merge_to_3.8.2/lib/RT/Dashboard.pm	Thu Feb  5 02:48:27 2009
@@ -242,7 +242,7 @@
     push @objects, $CurrentUser->user_object
       if $self->current_user->has_right(
         right  => "${prefix}OwnDashboard",
-        object => RT->system_user,
+        object => RT->system,
       );
 
     my $groups = RT::Model::GroupCollection->new( current_user => $CurrentUser );
@@ -262,7 +262,7 @@
     push @objects, RT::System->new( current_user => $CurrentUser )
       if $CurrentUser->has_right(
         right  => "${prefix}Dashboard",
-        object => RT->system_user,
+        object => RT->system,
       );
 
     return @objects;


More information about the Rt-commit mailing list