diff options
Diffstat (limited to 'rt/share/html/REST/1.0/Forms/group/ns')
-rw-r--r-- | rt/share/html/REST/1.0/Forms/group/ns | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rt/share/html/REST/1.0/Forms/group/ns b/rt/share/html/REST/1.0/Forms/group/ns index ec85faeb7..2e15040c4 100644 --- a/rt/share/html/REST/1.0/Forms/group/ns +++ b/rt/share/html/REST/1.0/Forms/group/ns @@ -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) @@ -53,7 +53,7 @@ $id <%perl> use RT::Groups; -my $groups = new RT::Groups $session{CurrentUser}; +my $groups = RT::Groups->new($session{CurrentUser}); $groups->Limit(FIELD => 'Name', OPERATOR => '=', VALUE => $id); if ($groups->Count == 0) { return (0, "No group named $id exists."); |