[Rt-commit] r8166 - rtir/branches/2.3-EXPERIMENTAL/lib/RT/Action
ruz at bestpractical.com
ruz at bestpractical.com
Sat Jul 14 22:49:09 EDT 2007
Author: ruz
Date: Sat Jul 14 22:49:09 2007
New Revision: 8166
Modified:
rtir/branches/2.3-EXPERIMENTAL/lib/RT/Action/RTIR_SetConstituencyGroup.pm
Log:
* make comparision really case insensetive
Modified: rtir/branches/2.3-EXPERIMENTAL/lib/RT/Action/RTIR_SetConstituencyGroup.pm
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/lib/RT/Action/RTIR_SetConstituencyGroup.pm (original)
+++ rtir/branches/2.3-EXPERIMENTAL/lib/RT/Action/RTIR_SetConstituencyGroup.pm Sat Jul 14 22:49:09 2007
@@ -35,7 +35,7 @@
my $constituency = $ticket->FirstCustomFieldValue('_RTIR_Constituency') || '';
my $required_group_there = 0;
while ( my $group = $groups->Next ) {
- if ( lc $group->Name eq 'dutyteam '. $constituency ) {
+ if ( lc $group->Name eq lc "dutyteam $constituency" ) {
$required_group_there = 1;
} else {
my ($status, $msg) = $ticket->DeleteWatcher(
More information about the Rt-commit
mailing list