rt 4.2.16
[freeside.git] / rt / share / html / REST / 1.0 / Forms / group / ns
index ec85fae..4fdf42d 100644 (file)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
@@ -53,8 +53,8 @@ $id
 <%perl>
 use RT::Groups;
 
-my $groups = new RT::Groups $session{CurrentUser};
-$groups->Limit(FIELD => 'Name', OPERATOR => '=', VALUE => $id);
+my $groups = RT::Groups->new($session{CurrentUser});
+$groups->Limit(FIELD => 'Name', OPERATOR => '=', VALUE => $id, CASESENSITIVE => 0);
 if ($groups->Count == 0) {
     return (0, "No group named $id exists.");
 }