From: Bryan Tong Minh Date: Sat, 30 Aug 2008 21:55:50 +0000 (+0000) Subject: $this->mLocalFile; not $file X-Git-Tag: 1.31.0-rc.0~45545 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=e95ac4b0b3c8ab2c6578ff2b2251d0802057d049;p=lhc%2Fweb%2Fwiklou.git $this->mLocalFile; not $file --- 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;