[Rt-commit] r2367 - in rt/branches/PLATANO-EXPERIMENTAL: . html/Admin/CustomFields

jesse at bestpractical.com jesse at bestpractical.com
Mon Mar 14 02:31:53 EST 2005


Author: jesse
Date: Mon Mar 14 02:31:53 2005
New Revision: 2367

Modified:
   rt/branches/PLATANO-EXPERIMENTAL/   (props changed)
   rt/branches/PLATANO-EXPERIMENTAL/html/Admin/CustomFields/UserRights.html
Log:
 r8470 at hualien:  jesse | 2005-03-14 02:25:53 -0500
  r4689 at hualien:  jesse | 2005-02-13 22:30:20 -0500
  A typo prevented users from being able to revoke other users'  rights on custom fields
  
 


Modified: rt/branches/PLATANO-EXPERIMENTAL/html/Admin/CustomFields/UserRights.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL/html/Admin/CustomFields/UserRights.html	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL/html/Admin/CustomFields/UserRights.html	Mon Mar 14 02:31:53 2005
@@ -121,8 +121,8 @@
             next unless ($right);
             my $obj;
 
-            if ($object_type eq 'RT::Class') {
-                $obj = RT::Class->new($session{'CurrentUser'});
+            if ($object_type eq 'RT::CustomField') {
+                $obj = RT::CustomField->new($session{'CurrentUser'});
                 $obj->Load($object_id);
             } else {
                 push (@results, loc("System Error").


More information about the Rt-commit mailing list