Index: trunk/extensions/SemanticForms/includes/SF_FormField.inc |
— | — | @@ -217,7 +217,8 @@ |
218 | 218 | } |
219 | 219 | if (! $part_of_multiple) { $text .= "| "; } |
220 | 220 | $text .= "{{{field|" . $this->template_field->field_name; |
221 | | - if ($this->template_field->input_type != '') { |
| 221 | + if (isset($this->template_field->input_type) && |
| 222 | + $this->template_field->input_type != null) { |
222 | 223 | $text .= "|input type=" . $this->template_field->input_type; |
223 | 224 | } |
224 | 225 | if ($this->is_mandatory) { |