[VD:LocalFileSystem] fix warning error

This commit is contained in:
nao-pon
2016-08-04 17:49:05 +09:00
parent fd67ee10d2
commit 7ef9cb8f84
+1 -1
View File
@@ -759,7 +759,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
* @author Dmitry (dio) Levashov
*/
protected function _fclose($fp, $path='') {
return fclose($fp);
return (is_resource($fp) && fclose($fp));
}
/******************** file/dir manipulations *************************/