From e95ac4b0b3c8ab2c6578ff2b2251d0802057d049 Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Sat, 30 Aug 2008 21:55:50 +0000 Subject: [PATCH] $this->mLocalFile; not $file --- includes/UploadFromBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/UploadFromBase.php b/includes/UploadFromBase.php index 387b13a08b..81a60cee3f 100644 --- a/includes/UploadFromBase.php +++ b/includes/UploadFromBase.php @@ -213,7 +213,7 @@ class UploadFromBase { # If the file existed before and was deleted, warn the user of this # Don't bother doing so if the file exists now, however - if( $this->mLocalFile->wasDeleted() && !$file->exists() ) + if( $this->mLocalFile->wasDeleted() && !$this->mLocalFile->exists() ) $warning['filewasdeleted'] = true; return $warning; -- 2.20.1