projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fa8dce
)
RT# 81692 Update deprecated syntax in a RT search call
author
Mitch Jackson
<mitch@freeside.biz>
Sat, 30 Mar 2019 21:36:38 +0000
(17:36 -0400)
committer
Mitch Jackson
<mitch@freeside.biz>
Sat, 30 Mar 2019 21:49:48 +0000
(17:49 -0400)
FS/FS/TicketSystem.pm
patch
|
blob
|
history
diff --git
a/FS/FS/TicketSystem.pm
b/FS/FS/TicketSystem.pm
index
c973c88
..
744bcde
100644
(file)
--- a/
FS/FS/TicketSystem.pm
+++ b/
FS/FS/TicketSystem.pm
@@
-409,7
+409,12
@@
sub _upgrade_data {
my $groups = RT::Groups->new(RT->SystemUser);
$groups->LimitToEnabled;
$groups->LimitToSystemInternalGroups;
- $groups->Limit(FIELD => 'Type', VALUE => 'Privileged', OPERATOR => '=');
+ $groups->Limit(
+ FIELD => 'Name',
+ VALUE => 'Privileged',
+ OPERATOR => '=',
+ CASESENSITIVE => 0,
+ );
my $group = $groups->First
or die "No RT internal group found for Privileged users";
my ($val, $msg) = $group->PrincipalObj->GrantRight(