diff options
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r-- | phpBB/includes/functions_convert.php | 5 |
1 files changed, 5 insertions, 0 deletions
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 .= '/'; |