X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FCustomFieldValues%2FExternal.pm;h=375f5c5384f49af3afd2b2c2580d1fd9e804892f;hb=b8988e1d3ac75af63c85e8563e57701030315a9e;hp=81aaa2b2c11925bb812b2c7c08723194859908a4;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/rt/lib/RT/CustomFieldValues/External.pm b/rt/lib/RT/CustomFieldValues/External.pm index 81aaa2b2c..375f5c538 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-2014 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -82,7 +82,7 @@ C. =head1 SEE ALSO -L +F =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, );