http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95658

Revision: 95658
Author:   nikerabbit
Date:     2011-08-29 12:28:26 +0000 (Mon, 29 Aug 2011)
Log Message:
-----------
Handle invalid titles

Modified Paths:
--------------
    trunk/extensions/SemanticForms/includes/SF_FormPrinter.php

Modified: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php
===================================================================
--- trunk/extensions/SemanticForms/includes/SF_FormPrinter.php  2011-08-29 
12:27:01 UTC (rev 95657)
+++ trunk/extensions/SemanticForms/includes/SF_FormPrinter.php  2011-08-29 
12:28:26 UTC (rev 95658)
@@ -317,7 +317,7 @@
 
                global $wgOut;
                // show previous set of deletions for this page, if it's been 
deleted before
-               if ( ! $form_submitted && ! $this->mPageTitle->exists() ) {
+               if ( ! $form_submitted && ( $this->mPageTitle && 
!$this->mPageTitle->exists() ) ) {
                        $this->showDeletionLog( $wgOut );
                }
                // Unfortunately, we can't just call userCan() here because, as 
of MW 1.16,


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to