summaryrefslogtreecommitdiff
path: root/rt/share/html/Admin/Elements/SelectUsers
diff options
context:
space:
mode:
Diffstat (limited to 'rt/share/html/Admin/Elements/SelectUsers')
-rwxr-xr-xrt/share/html/Admin/Elements/SelectUsers8
1 files changed, 4 insertions, 4 deletions
diff --git a/rt/share/html/Admin/Elements/SelectUsers b/rt/share/html/Admin/Elements/SelectUsers
index 14ebf822c..1851f23f8 100755
--- a/rt/share/html/Admin/Elements/SelectUsers
+++ b/rt/share/html/Admin/Elements/SelectUsers
@@ -2,7 +2,7 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@ -54,10 +54,10 @@
</select>
<%INIT>
-my $users = new RT::Users($session{'CurrentUser'});
+my $users = RT::Users->new($session{'CurrentUser'});
-$users->Limit(FIELD => 'id', VALUE => $RT::SystemUser->id, OPERATOR => '!=' );
-$users->Limit(FIELD => 'id', VALUE => $RT::Nobody->id, OPERATOR => '!=' );
+$users->Limit(FIELD => 'id', VALUE => RT->SystemUser->id, OPERATOR => '!=' );
+$users->Limit(FIELD => 'id', VALUE => RT->Nobody->id, OPERATOR => '!=' );
$users->LimitToPrivileged();
</%INIT>