same for search by mime
This commit is contained in:
parent
3b4020e811
commit
6aeb0a99da
|
@ -290,10 +290,10 @@ class Shared_Cache extends Cache {
|
|||
while ($row = $result->fetchRow()) {
|
||||
if (substr($row['path'], 0, 6)==='files/') {
|
||||
$row['path'] = substr($row['path'],6); // remove 'files/' from path as it's relative to '/Shared'
|
||||
}
|
||||
$row['mimetype'] = $this->getMimetype($row['mimetype']);
|
||||
$row['mimepart'] = $this->getMimetype($row['mimepart']);
|
||||
$files[] = $row;
|
||||
} // else skip results out of the files folder
|
||||
}
|
||||
}
|
||||
return $files;
|
||||
|
|
Loading…
Reference in New Issue