[Rt-commit] r10347 - rtir/branches/2.3-EXPERIMENTAL/html/RTIR

ruz at bestpractical.com ruz at bestpractical.com
Mon Jan 14 16:33:13 EST 2008


Author: ruz
Date: Mon Jan 14 16:33:13 2008
New Revision: 10347

Modified:
   rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html

Log:
* fix another case-sensetivity bug with constituency

Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html	Mon Jan 14 16:33:13 2008
@@ -383,7 +383,7 @@
     }
     elsif ( $ARGS{'Create'} 
         && RT->Config->Get('_RTIR_Constituency_Propagation') eq 'reject'
-        && $ARGS{$ARGS{'Constituency'}} ne $IncidentObj->FirstCustomFieldValue('_RTIR_Constituency') )
+        && lc $ARGS{$ARGS{'Constituency'}} ne lc $IncidentObj->FirstCustomFieldValue('_RTIR_Constituency') )
     {
         push @results, loc('Incident #[_1] has constituency [_2], choose the same value for a new ticket or use another Incident', $Incident, $IncidentObj->FirstCustomFieldValue('_RTIR_Constituency') );
         ($checks_failure, $IncidentObj, $Incident) = (1, undef, undef);


More information about the Rt-commit mailing list