Index: trunk/extensions/SemanticForms/specials/SF_AddData.php |
— | — | @@ -56,7 +56,7 @@ |
57 | 57 | $diff_page = $wgRequest->getCheck('wpDiff'); |
58 | 58 | $form_submitted = ($save_page || $preview_page || $diff_page); |
59 | 59 | // get 'preload' query value, if it exists |
60 | | - if ($wgRequest->getCheck('preload')) { |
| 60 | + if (!$form_submitted && $wgRequest->getCheck('preload')) { |
61 | 61 | $page_is_source = true; |
62 | 62 | $page_contents = SFFormPrinter::getPreloadedText($wgRequest->getVal('preload')); |
63 | 63 | } else { |