X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FCustomFieldValues_Overlay.pm;h=4c6d7f84d63b678c83314d0caf6f053209603757;hb=b4b0c7e72d7eaee2fbfc7022022c9698323203dd;hp=543a9860bb5b13a287d44bd79bb0f714c04c953c;hpb=2dfda73eeb3eae2d4f894099754794ef07d060dd;p=freeside.git diff --git a/rt/lib/RT/CustomFieldValues_Overlay.pm b/rt/lib/RT/CustomFieldValues_Overlay.pm index 543a9860b..4c6d7f84d 100644 --- a/rt/lib/RT/CustomFieldValues_Overlay.pm +++ b/rt/lib/RT/CustomFieldValues_Overlay.pm @@ -1,8 +1,8 @@ # 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 # # # (Except where explicitly superseded by other copyright notices) @@ -45,9 +45,11 @@ # those contributions and any derivatives thereof. # # END BPS TAGGED BLOCK }}} + package RT::CustomFieldValues; use strict; +use warnings; 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; - return ($self->Limit( FIELD => 'CustomField', - VALUE => $cf, - OPERATOR => '=')); - + return $self->Limit( + FIELD => 'CustomField', + VALUE => $cf, + OPERATOR => '=', + ); } # }}} 1; -