Skip to content

Commit

Permalink
[VD:LocalFlieSystem] fix Studio-42#1318 enbug@329593b46d5f36693236d34…
Browse files Browse the repository at this point in the history
…9b06b55bd927b59c1
  • Loading branch information
nao-pon committed Apr 11, 2016
1 parent a4f5216 commit 2a2e441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/elFinderVolumeLocalFileSystem.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ protected function _scandir($path) {
$stat['mime'] = $dir ? 'directory' : $this->mimetype($stat['alias']);
}
} else {
if ($dir = $file->isDir() && $this->options['detectDirIcon']) {
if (($dir = $file->isDir()) && $this->options['detectDirIcon']) {
$path = $file->getPathname();
$favicon = $path . DIRECTORY_SEPARATOR . $this->options['detectDirIcon'];
if ($this->URL && file_exists($favicon)) {
Expand Down

0 comments on commit 2a2e441

Please sign in to comment.