mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
src build elFinder-2.1-24b2607
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user