[freeside-commits] branch master updated. 21a19bf261166b0e3898cd1c05461a8e1f82d69a
Mitch Jackson
mitch at freeside.biz
Sat Mar 30 14:44:54 PDT 2019
The branch, master has been updated
via 21a19bf261166b0e3898cd1c05461a8e1f82d69a (commit)
from 15af7d37742ff7511004dafc5f6190cb1f19540a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 21a19bf261166b0e3898cd1c05461a8e1f82d69a
Author: Mitch Jackson <mitch at freeside.biz>
Date: Sat Mar 30 17:36:38 2019 -0400
RT# 81692 Update deprecated syntax in a RT search call
diff --git a/FS/FS/TicketSystem.pm b/FS/FS/TicketSystem.pm
index c973c8802..744bcde30 100644
--- 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(
-----------------------------------------------------------------------
Summary of changes:
FS/FS/TicketSystem.pm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list