From f50ac863a2c93c626f2dfea596d41598ab6de2bb Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 1 Jan 2009 13:15:29 +0000 Subject: [PATCH] Fix PHP fatal error in /usr/local/apache/common-local/php-1.5/includes/FileDeleteForm.php line 116: Regression from r45159 --- includes/FileDeleteForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php index b7c544c6a2..66086b0f49 100644 --- a/includes/FileDeleteForm.php +++ b/includes/FileDeleteForm.php @@ -113,7 +113,7 @@ class FileDeleteForm { global $wgRequest; if( $wgRequest->getCheck( 'wpWatch' ) ) { $article->doWatch(); - } elseif( $this->mTitle->userIsWatching() ) { + } elseif( $title->userIsWatching() ) { $article->doUnwatch(); } wfRunHooks('ArticleDeleteComplete', array(&$article, &$wgUser, $reason, $id)); -- 2.20.1