[Rt-commit] rt branch, 4.0/ipv6-unspecified-address-fix, created. rt-4.0.0-180-g17d801a

? sunnavy sunnavy at bestpractical.com
Wed May 4 21:46:58 EDT 2011


The branch, 4.0/ipv6-unspecified-address-fix has been created
        at  17d801a77e2e7e493e27f99bfa08690f9b637fef (commit)

- Log -----------------------------------------------------------------
commit 17d801a77e2e7e493e27f99bfa08690f9b637fef
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed May 4 15:16:31 2011 -0400

    Typo fix; without this, external CFs with NOT LIKE are runtime errors

diff --git a/lib/RT/CustomFieldValues/External.pm b/lib/RT/CustomFieldValues/External.pm
index 9766bad..8f25e4f 100644
--- a/lib/RT/CustomFieldValues/External.pm
+++ b/lib/RT/CustomFieldValues/External.pm
@@ -137,7 +137,7 @@ sub __BuildLimitCheck {
             return 0 unless $value ne $condition;
         } elsif (uc($op) eq "LIKE") {
             return 0 unless $value =~ /\Q$condition\E/i;
-        } elsif (rc($op) eq "NOT LIKE") {
+        } elsif (uc($op) eq "NOT LIKE") {
             return 0 unless $value !~ /\Q$condition\E/i;
         } else {
             return 0;

-----------------------------------------------------------------------


More information about the Rt-commit mailing list