[Rt-commit] r4117 - in rt/branches/QUEBEC-EXPERIMENTAL: . lib/RT

jesse at bestpractical.com jesse at bestpractical.com
Fri Nov 18 17:17:48 EST 2005


Author: jesse
Date: Fri Nov 18 17:17:48 2005
New Revision: 4117

Modified:
   rt/branches/QUEBEC-EXPERIMENTAL/   (props changed)
   rt/branches/QUEBEC-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm
Log:
 r17371 at truegrounds:  jesse | 2005-10-14 17:13:07 -0400
 Pull up from 3.4


Modified: rt/branches/QUEBEC-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/QUEBEC-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm	(original)
+++ rt/branches/QUEBEC-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm	Fri Nov 18 17:17:48 2005
@@ -3698,7 +3698,7 @@
 sub CustomFieldValues {
     my $self  = shift;
     my $field = shift;
-    unless ( $field =~ /^\d+$/ ) {
+    if ( $field and $field !~ /^\d+$/ ) {
         my $cf = RT::CustomField->new( $self->CurrentUser );
         $cf->LoadByNameAndQueue( Name => $field, Queue => $self->QueueObj->Id );
         unless ( $cf->id ) {


More information about the Rt-commit mailing list