From 4b0439958401369367cb928e562c442a8a4273cd Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Thu, 15 Mar 2007 08:33:29 +0000 Subject: [PATCH] if path is false we do not return one... git-svn-id: file:///svn/phpbb/trunk@7198 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_convert.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php index 88ea955a42..559921ba35 100644 --- a/phpBB/includes/functions_convert.php +++ b/phpBB/includes/functions_convert.php @@ -1241,6 +1241,11 @@ function update_folder_pm_count() function path($path, $path_relative = true) { + if ($path === false) + { + return ''; + } + if (substr($path, -1) != '/') { $path .= '/';