From: Sam Reed Date: Mon, 21 Mar 2011 21:26:16 +0000 (+0000) Subject: Fix variable typo introduced in r83282 X-Git-Tag: 1.31.0-rc.0~31265 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=6d355786d5d6d1ce6d813e02c5898af806fbdc88;p=lhc%2Fweb%2Fwiklou.git Fix variable typo introduced in r83282 --- diff --git a/includes/Title.php b/includes/Title.php index 15bd8f4ebf..d21ed35695 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -3054,7 +3054,7 @@ class Title { } $destFile = wfLocalFile( $nt ); - if ( !$wgUser->isAllowed( 'reupload-shared' ) && !$destfile->exists() && wfFindFile( $nt ) ) { + if ( !$wgUser->isAllowed( 'reupload-shared' ) && !$destFile->exists() && wfFindFile( $nt ) ) { $errors[] = array( 'file-exists-sharedrepo' ); }