Index: trunk/extensions/SemanticForms/specials/SF_RunQuery.php |
— | — | @@ -62,6 +62,7 @@ |
63 | 63 | $edit_content = $content; |
64 | 64 | $is_text_source = true; |
65 | 65 | } else { |
| 66 | + $edit_content = null; |
66 | 67 | $is_text_source = true; |
67 | 68 | } |
68 | 69 | list ($form_text, $javascript_text, $data_text, $form_page_title) = |
— | — | @@ -72,6 +73,7 @@ |
73 | 74 | $new_url = $wgTitle->getLocalURL() . "/$form_name"; |
74 | 75 | $text = SFUtils::printRedirectForm($new_url, $data_text, $wgRequest->getVal('wpSummary'), $save_page, $preview_page, $diff_page, $wgRequest->getCheck('wpMinoredit'), $wgRequest->getCheck('wpWatchthis'), $wgRequest->getVal('wpStarttime'), $wgRequest->getVal('wpEdittime')); |
75 | 76 | } else { |
| 77 | + $text = ""; |
76 | 78 | // override the default title for this page if |
77 | 79 | // a title was specified in the form |
78 | 80 | if ($form_page_title != NULL) { |