forked from extern/egroupware
Filemanager: Fix anonymous share stopped showing subdirectories on refresh
Broken by 2811304833
This commit is contained in:
parent
be82f32b68
commit
38a82962b0
@ -145,6 +145,9 @@ class AnonymousList extends filemanager_ui
|
|||||||
*/
|
*/
|
||||||
function get_rows(&$query, &$rows)
|
function get_rows(&$query, &$rows)
|
||||||
{
|
{
|
||||||
|
// We turned off filter but still need to use the value
|
||||||
|
$query['filter'] = '';
|
||||||
|
|
||||||
// Check for navigating outside share, redirect back to share
|
// Check for navigating outside share, redirect back to share
|
||||||
if (!empty($query['path']) && (!Vfs::stat($query['path'], false) || !Vfs::is_dir($query['path']) || !Vfs::check_access($query['path'], Vfs::READABLE)))
|
if (!empty($query['path']) && (!Vfs::stat($query['path'], false) || !Vfs::is_dir($query['path']) || !Vfs::check_access($query['path'], Vfs::READABLE)))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user