mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
Update Embedfiles.php
This commit is contained in:
parent
89b39e53d7
commit
ada5a6de9f
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class Embedfiles extends Controller
|
|||
public function get_embed_top_folders($results)
|
||||
{
|
||||
|
||||
$sorted = array_filter($results, function($v, $k) {
|
||||
$sorted = array_filter($results[0], function($v, $k) {
|
||||
return $k == 'is_dir' && $v == '';
|
||||
}, ARRAY_FILTER_USE_BOTH);
|
||||
|
||||
|
|
Loading…
Reference in a new issue