mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:abstract,Dropbox,MySQL] fix mime type search logic
This commit is contained in:
@@ -323,7 +323,7 @@ class elFinderVolumeMySQL extends elFinderVolumeDriver {
|
||||
|
||||
if (($res = $this->query($sql))) {
|
||||
while ($row = $res->fetch_assoc()) {
|
||||
if ($this->mimeAccepted($row['mime'], array_merge($mimes, $this->onlyMimes))) {
|
||||
if ($this->mimeAccepted($row['mime'], $mimes)) {
|
||||
$id = $row['id'];
|
||||
if ($row['parent_id']) {
|
||||
$row['phash'] = $this->encode($row['parent_id']);
|
||||
|
||||
Reference in New Issue
Block a user