summaryrefslogtreecommitdiff
path: root/rt/lib/RT/CustomFieldValues/External.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-06-30 01:03:13 -0700
committerIvan Kohler <ivan@freeside.biz>2012-06-30 01:03:13 -0700
commitf3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7 (patch)
treee5e9a077260613e6117d4697dd2985abd9b03d34 /rt/lib/RT/CustomFieldValues/External.pm
parentcf7cd8efc7095aadbdfb0cd8e7ea0e2e8b9e9085 (diff)
parentcd3eb95ed1f3dc3e04cfc2b3b405f75b3ab086da (diff)
merging RT 4.0.6
Diffstat (limited to 'rt/lib/RT/CustomFieldValues/External.pm')
-rw-r--r--rt/lib/RT/CustomFieldValues/External.pm10
1 files changed, 5 insertions, 5 deletions
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
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
@@ -82,7 +82,7 @@ C<sortorder>.
=head1 SEE ALSO
-L<docs/creating_external_custom_fields.pod>
+L<docs/extending/external_custom_fields.pod>
=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,
);