From 43a06151e47d2c59b833cbd8c26d97865ee850b6 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 7 Jun 2012 00:56:06 -0700 Subject: starting to work... --- rt/lib/RT/CustomFieldValues/External.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rt/lib/RT/CustomFieldValues/External.pm') diff --git a/rt/lib/RT/CustomFieldValues/External.pm b/rt/lib/RT/CustomFieldValues/External.pm index 81aaa2b2c..61125146f 100644 --- a/rt/lib/RT/CustomFieldValues/External.pm +++ b/rt/lib/RT/CustomFieldValues/External.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -82,7 +82,7 @@ C. =head1 SEE ALSO -L +L =cut @@ -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; @@ -179,9 +179,9 @@ sub _DoSearch { customfield => $self->{'__external_cf'}, sortorder => 0, description => '', - creator => $RT::SystemUser->id, + creator => RT->SystemUser->id, created => undef, - lastupdatedby => $RT::SystemUser->id, + lastupdatedby => RT->SystemUser->id, lastupdated => undef, ); -- cgit v1.2.1