[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.0-180-g17d801a

Alex Vandiver alexmv at bestpractical.com
Wed May 4 15:16:34 EDT 2011


The branch, 4.0-trunk has been updated
       via  17d801a77e2e7e493e27f99bfa08690f9b637fef (commit)
      from  db20a47e0c2e6ebe158222e6bb8da493649da0d5 (commit)

Summary of changes:
 lib/RT/CustomFieldValues/External.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- 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