projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.13 ticket#13852
[freeside.git]
/
rt
/
share
/
html
/
REST
/
1.0
/
Forms
/
user
/
ns
diff --git
a/rt/share/html/REST/1.0/Forms/user/ns
b/rt/share/html/REST/1.0/Forms/user/ns
index
16c8902
..
8981121
100755
(executable)
--- a/
rt/share/html/REST/1.0/Forms/user/ns
+++ b/
rt/share/html/REST/1.0/Forms/user/ns
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
1
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
6
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-56,8
+56,8
@@
use RT::Users;
my $field = "Name";
$field = "EmailAddress" if $id =~ /\@/;
my $field = "Name";
$field = "EmailAddress" if $id =~ /\@/;
-my $users =
new RT::Users $session{CurrentUser}
;
-$users->Limit(FIELD => $field, OPERATOR => '=', VALUE => $id);
+my $users =
RT::Users->new($session{CurrentUser})
;
+$users->Limit(FIELD => $field, OPERATOR => '=', VALUE => $id
, CASESENSITIVE => 0
);
if ($users->Count == 0) {
return (0, "No user named $id exists.");
}
if ($users->Count == 0) {
return (0, "No user named $id exists.");
}