summaryrefslogtreecommitdiff
path: root/rt/lib/RT/CustomFieldValues
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-07-02 14:24:21 -0700
committerIvan Kohler <ivan@freeside.biz>2012-07-02 14:24:21 -0700
commit85e677b86fc37c54e6de2b06340351a28f5a5916 (patch)
tree11148e2c292bd1a43b7cf6c2f5212a6ca8b03e75 /rt/lib/RT/CustomFieldValues
parente5ab051ccdb7637d8dd2f0ed9b4fe9aaaf1d1100 (diff)
parent92aedddd3684167abb60cd3f1d77bbc156c592e6 (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'rt/lib/RT/CustomFieldValues')
-rw-r--r--rt/lib/RT/CustomFieldValues/External.pm10
-rw-r--r--rt/lib/RT/CustomFieldValues/Groups.pm2
2 files changed, 6 insertions, 6 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,
);
diff --git a/rt/lib/RT/CustomFieldValues/Groups.pm b/rt/lib/RT/CustomFieldValues/Groups.pm
index 59e31048b..2519e2917 100644
--- a/rt/lib/RT/CustomFieldValues/Groups.pm
+++ b/rt/lib/RT/CustomFieldValues/Groups.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)