Index: trunk/extensions/SemanticForms/specials/SF_FormEdit.php |
— | — | @@ -188,7 +188,7 @@ |
189 | 189 | $wgOut->setPageTitle( $s ); |
190 | 190 | |
191 | 191 | if ( $form_submitted ) { |
192 | | - if ( !is_null( $page_name_formula ) && $page_name_formula !== '' ) { |
| 192 | + if ( !empty( $page_name_formula ) ) { |
193 | 193 | $target_name = $generated_page_name; |
194 | 194 | // prepend a super-page, if one was specified |
195 | 195 | if ( $wgRequest->getCheck( 'super_page' ) ) { |