src build elFinder-2.1-24b2607

This commit is contained in:
nao-pon
2020-01-12 20:15:48 +09:00
parent f0925d2f27
commit dd941fa56e
11 changed files with 109 additions and 75 deletions
+1 -1
View File
@@ -1183,7 +1183,7 @@ abstract class elFinderVolumeDriver
foreach ($this->options['attributes'] as $a) {
// attributes must contain pattern and at least one rule
if (!empty($a['pattern']) || count($a) > 1) {
if (!empty($a['pattern']) || (is_array($a) && count($a) > 1)) {
$this->attributes[] = $a;
}
}