]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 284301: error when entering less than three caracters in the CC field - Patch...
authorlpsolit%gmail.com <>
Thu, 7 Apr 2005 14:44:52 +0000 (14:44 +0000)
committerlpsolit%gmail.com <>
Thu, 7 Apr 2005 14:44:52 +0000 (14:44 +0000)
template/en/default/global/hidden-fields.html.tmpl

index 2fa577b4366b818c92656e26dfc9d71628098c75..ef083d9ecea94cc629523e3ae781255ebcc9cf99 100644 (file)
@@ -30,7 +30,7 @@
 [%# Generate hidden form fields for non-excluded fields. %]
 [% FOREACH field = form %]
   [% NEXT IF exclude && field.key.search(exclude) %]
-  [% IF mform.${field.key}.size > 1 %]
+  [% IF mform.${field.key} && mform.${field.key}.size > 1 %]
     [% FOREACH mvalue = mform.${field.key} %]
       <input type="hidden" name="[% field.key FILTER html %]"
              value="[% mvalue FILTER html FILTER html_linebreak %]">