From 942b233e7637b9803c0417f2d48519420c20c436 Mon Sep 17 00:00:00 2001 From: healerz Date: Tue, 20 Mar 2012 11:20:51 +0100 Subject: [PATCH] Fixed undefined variable --- php/elFinderVolumeDriver.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/elFinderVolumeDriver.class.php b/php/elFinderVolumeDriver.class.php index ad5ed2470..37c6368f6 100644 --- a/php/elFinderVolumeDriver.class.php +++ b/php/elFinderVolumeDriver.class.php @@ -1351,7 +1351,7 @@ abstract class elFinderVolumeDriver { return $this->setError(elFinder::ERROR_UPLOAD_FILE_MIME); } - if ($this->uploadMaxSize > 0 && filesize($tmpPath) > $this->uploadMaxSize) { + if ($this->uploadMaxSize > 0 && filesize($tmpname) > $this->uploadMaxSize) { return $this->setError(elFinder::ERROR_UPLOAD_FILE_SIZE); }