[Rt-commit] r7057 - rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/Elements

ruz at bestpractical.com ruz at bestpractical.com
Thu Feb 22 19:01:42 EST 2007


Author: ruz
Date: Thu Feb 22 19:01:42 2007
New Revision: 7057

Modified:
   rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/Elements/EditCustomFieldFreeform

Log:
* drop uninit warn

Modified: rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/Elements/EditCustomFieldFreeform
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/Elements/EditCustomFieldFreeform	(original)
+++ rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/Elements/EditCustomFieldFreeform	Thu Feb 22 19:01:42 2007
@@ -45,7 +45,7 @@
 %# END BPS TAGGED BLOCK }}}
 % my $name = $NamePrefix . $CustomField->Id . '-Value';
 % if ($Multiple) {
-<textarea cols="<%$Cols%>" rows="<%$Rows%>" name="<%$name%>s" id="<%$name%>s" ><%$Default%></textarea>
+<textarea cols="<%$Cols%>" rows="<%$Rows%>" name="<%$name%>s" id="<%$name%>s" ><% $Default || '' %></textarea>
 % } else {
 <input name="<%$name%>" id="<%$name%>" size="<%$Cols%>" value="<%$Default ? $Default : ''%>" />
 % }


More information about the Rt-commit mailing list