[Rt-commit] r9229 - rt/branches/3.7-RTIR-RELENG/lib/RT

ruz at bestpractical.com ruz at bestpractical.com
Sun Oct 7 20:25:34 EDT 2007


Author: ruz
Date: Sun Oct  7 20:25:22 2007
New Revision: 9229

Modified:
   rt/branches/3.7-RTIR-RELENG/lib/RT/CustomField_Overlay.pm

Log:
* use 0 as default for MaxValues instead of empty string

Modified: rt/branches/3.7-RTIR-RELENG/lib/RT/CustomField_Overlay.pm
==============================================================================
--- rt/branches/3.7-RTIR-RELENG/lib/RT/CustomField_Overlay.pm	(original)
+++ rt/branches/3.7-RTIR-RELENG/lib/RT/CustomField_Overlay.pm	Sun Oct  7 20:25:22 2007
@@ -741,7 +741,7 @@
 
 sub TypeComposite {
     my $self = shift;
-    join('-', $self->Type || '', $self->MaxValues || '');
+    return join '-', ($self->Type || ''), ($self->MaxValues || 0);
 }
 
 =head2 TypeComposites


More information about the Rt-commit mailing list