Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php |
— | — | @@ -317,7 +317,7 @@ |
318 | 318 | |
319 | 319 | global $wgOut; |
320 | 320 | // show previous set of deletions for this page, if it's been deleted before |
321 | | - if ( ! $form_submitted && ! $this->mPageTitle->exists() ) { |
| 321 | + if ( ! $form_submitted && ( $this->mPageTitle && !$this->mPageTitle->exists() ) ) { |
322 | 322 | $this->showDeletionLog( $wgOut ); |
323 | 323 | } |
324 | 324 | // Unfortunately, we can't just call userCan() here because, as of MW 1.16, |