Index: trunk/extensions/SemanticForms/includes/SF_FormClasses.inc |
— | — | @@ -265,8 +265,13 @@ |
266 | 266 | } |
267 | 267 | } |
268 | 268 | if ($the_field == null) { |
269 | | - if ($strict_parsing) |
270 | | - return null; |
| 269 | + if ($strict_parsing) { |
| 270 | + $dummy_ftf = new SFFormTemplateField(); |
| 271 | + $dummy_ftf->template_field = new SFTemplateField(); |
| 272 | + $dummy_ftf->is_list = false; |
| 273 | + $dummy_ftf->field_args = array(); |
| 274 | + return $dummy_ftf; |
| 275 | + } |
271 | 276 | $the_field = new SFTemplateField(); |
272 | 277 | } |
273 | 278 | |