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 .= '/';