Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc |
— | — | @@ -242,12 +242,10 @@ |
243 | 243 | if (count($sub_components) == 2) { |
244 | 244 | if ($sub_components[0] == 'label') { |
245 | 245 | $template_label = $sub_components[1]; |
246 | | - } |
247 | | - if ($sub_components[0] == 'chooser') { |
| 246 | + } elseif ($sub_components[0] == 'chooser') { |
248 | 247 | $allow_multiple = true; |
249 | 248 | $chooser_name = $sub_components[1]; |
250 | | - } |
251 | | - if ($sub_components[0] == 'chooser caption') { |
| 249 | + } elseif ($sub_components[0] == 'chooser caption') { |
252 | 250 | $chooser_caption = $sub_components[1]; |
253 | 251 | } |
254 | 252 | } |