projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import rt 3.8.7
[freeside.git]
/
rt
/
lib
/
RT
/
CustomFieldValues_Overlay.pm
diff --git
a/rt/lib/RT/CustomFieldValues_Overlay.pm
b/rt/lib/RT/CustomFieldValues_Overlay.pm
index
543a986
..
4c6d7f8
100644
(file)
--- a/
rt/lib/RT/CustomFieldValues_Overlay.pm
+++ b/
rt/lib/RT/CustomFieldValues_Overlay.pm
@@
-1,8
+1,8
@@
# BEGIN BPS TAGGED BLOCK {{{
#
# COPYRIGHT:
# BEGIN BPS TAGGED BLOCK {{{
#
# COPYRIGHT:
-#
-# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
+#
+# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
# <jesse@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
# <jesse@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
@@
-45,9
+45,11
@@
# those contributions and any derivatives thereof.
#
# END BPS TAGGED BLOCK }}}
# those contributions and any derivatives thereof.
#
# END BPS TAGGED BLOCK }}}
+
package RT::CustomFieldValues;
use strict;
package RT::CustomFieldValues;
use strict;
+use warnings;
no warnings qw(redefine);
# {{{ sub LimitToCustomField
no warnings qw(redefine);
# {{{ sub LimitToCustomField
@@
-61,13
+63,13
@@
Limits the returned set to values for the custom field with Id FIELD
sub LimitToCustomField {
my $self = shift;
my $cf = shift;
sub LimitToCustomField {
my $self = shift;
my $cf = shift;
- return ($self->Limit( FIELD => 'CustomField',
- VALUE => $cf,
- OPERATOR => '='));
-
+ return $self->Limit(
+ FIELD => 'CustomField',
+ VALUE => $cf,
+ OPERATOR => '=',
+ );
}
# }}}
1;
}
# }}}
1;
-