From 69585fb6d2a652a816a882ae8807fae547e5c2ef 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;