Index: trunk/extensions/SemanticForms/specials/SF_FormEdit.php |
— | — | @@ -107,6 +107,10 @@ |
108 | 108 | $form_definition = $form_article->getContent(); |
109 | 109 | $form_definition = StringUtils::delimiterReplace( '<noinclude>', '</noinclude>', '', $form_definition ); |
110 | 110 | |
| 111 | + if ( is_null( $target_name ) ) { |
| 112 | + $target_name = ''; |
| 113 | + } |
| 114 | + |
111 | 115 | if ( $target_name === '' ) { |
112 | 116 | |
113 | 117 | // parse the form to see if it has a 'page name' value set |