Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php |
— | — | @@ -1522,7 +1522,7 @@ |
1523 | 1523 | |
1524 | 1524 | // Add a warning in, if we're editing an existing page and that |
1525 | 1525 | // page appears to not have been created with this form. |
1526 | | - if ( $this->mPageTitle->exists() && ( $existing_page_content !== '' ) && ! $source_page_matches_this_form ) { |
| 1526 | + if ( !$is_query && $this->mPageTitle->exists() && ( $existing_page_content !== '' ) && ! $source_page_matches_this_form ) { |
1527 | 1527 | $form_text = "\t" . '<div class="warningbox">' . wfMsg( 'sf_formedit_formwarning', $this->mPageTitle->getFullURL() ) . "</div>\n<br clear=\"both\" />\n" . $form_text; |
1528 | 1528 | } |
1529 | 1529 | |