_save calls fixes

This commit is contained in:
Dmitry (dio) Levashov
2012-09-11 22:54:32 +04:00
parent f4cbafb5f6
commit f2afa9fa7e
3 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -821,8 +821,8 @@ class elFinderVolumeMySQL extends elFinderVolumeDriver {
$this->clearcache();
$mime = $stat['mime'];
$w = !empty($stat['w']) ? $stat['w'] : 0;
$h = !empty($stat['h']) ? $stat['h'] : 0;
$w = !empty($stat['width']) ? $stat['width'] : 0;
$h = !empty($stat['height']) ? $stat['height'] : 0;
$id = $this->_joinPath($dir, $name);
rewind($fp);