From 6410788a465671d1320745c110e563e4f1faceec Mon Sep 17 00:00:00 2001 From: Ian Baker Date: Mon, 15 Aug 2011 18:19:54 +0000 Subject: [PATCH] checking for existence of mLocalFile in stashFile() was inverted followup to r94536 --- includes/upload/UploadFromStash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/upload/UploadFromStash.php b/includes/upload/UploadFromStash.php index ce0bc8c906..8ea921935a 100644 --- a/includes/upload/UploadFromStash.php +++ b/includes/upload/UploadFromStash.php @@ -103,7 +103,7 @@ class UploadFromStash extends UploadBase { * There is no need to stash the image twice */ public function stashFile( $key = null ) { - if ( !$this->mLocalFile ) { + if ( $this->mLocalFile ) { return $this->mLocalFile; } return parent::stashFile( $key ); -- 2.20.1