[VD:MySQL] fix notice error

This commit is contained in:
nao-pon
2016-01-23 21:29:17 +09:00
parent 10168e571f
commit eb5cc804bb
+1 -1
View File
@@ -402,7 +402,7 @@ class elFinderVolumeMySQL extends elFinderVolumeDriver {
* @author Dmitry (dio) Levashov
**/
protected function _dirname($path) {
return ($stat = $this->stat($path)) ? ($stat['phash'] ? $this->decode($stat['phash']) : $this->root) : false;
return ($stat = $this->stat($path)) ? (!empty($stat['phash']) ? $this->decode($stat['phash']) : $this->root) : false;
}
/**