diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index 5858b1e8cd..8d55157097 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -339,7 +339,7 @@ class filemanager_ui } else { - $msg .= lang('The requested path %1 is not available.',Vfs::decodePath($path)); + $msg .= lang('The requested path %1 is not available.', $path ? Vfs::decodePath($path) : "false"); } // reset lettersearch as it confuses users (they think the dir is empty) $content['nm']['searchletter'] = false;