[freeside-commits] branch FREESIDE_4_BRANCH updated. d07e9fcfefbf7cb0f1513004caadf91b3227d540
Mitch Jackson
mitch at freeside.biz
Sat Mar 30 15:04:42 PDT 2019
The branch, FREESIDE_4_BRANCH has been updated
via d07e9fcfefbf7cb0f1513004caadf91b3227d540 (commit)
from 0fa8dce1fee830dcf0357ed6b006d64a936ac718 (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 d07e9fcfefbf7cb0f1513004caadf91b3227d540
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