From 47e1c995f72935c5fb4faefea4ebe025efbaa5ad Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 2 Jul 2016 14:02:13 +0200 Subject: [PATCH] fix Scrutinizer "bugs" --- filemanager/inc/class.filemanager_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;