Update Embedfiles.php

This commit is contained in:
Ray 2023-02-23 12:33:54 -05:00
parent 89b39e53d7
commit ada5a6de9f

View file

@ -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);