X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FREST%2F1.0%2FForms%2Fgroup%2Fns;h=c993db8b6eea1a1c4fb72ca1f3c6064ed981f8a2;hb=b8988e1d3ac75af63c85e8563e57701030315a9e;hp=ec85faeb7dfb32331e03052f27f5678b1e6ba0fe;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/share/html/REST/1.0/Forms/group/ns b/rt/share/html/REST/1.0/Forms/group/ns index ec85faeb7..c993db8b6 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-2014 Best Practical Solutions, LLC %# %# %# (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.");