Index: trunk/extensions/SemanticForms/specials/SF_AddData.php |
— | — | @@ -46,6 +46,11 @@ |
47 | 47 | function printAddForm($form_name, $target_name, $alt_forms) { |
48 | 48 | global $wgOut, $wgRequest, $sfgScriptPath, $sfgFormPrinter; |
49 | 49 | |
| 50 | + // initialize some variables |
| 51 | + $page_title = NULL; |
| 52 | + $target_title = NULL; |
| 53 | + $page_name_formula = NULL; |
| 54 | + |
50 | 55 | // get contents of form and target page - if there's only one, |
51 | 56 | // it might be a target with only alternate forms |
52 | 57 | if ($form_name == '') { |