summaryrefslogtreecommitdiff
path: root/rt/lib/RT/CustomFieldValues/External.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-06-07 00:56:06 -0700
committerIvan Kohler <ivan@freeside.biz>2012-06-07 00:56:06 -0700
commit43a06151e47d2c59b833cbd8c26d97865ee850b6 (patch)
tree42c51d94e7fa265461b508d061562be204ccc2c1 /rt/lib/RT/CustomFieldValues/External.pm
parent6587f6ba7d047ddc1686c080090afe7d53365bd4 (diff)
starting to work...
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,
);