if path is false we do not return one...

git-svn-id: file:///svn/phpbb/trunk@7198 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-03-15 08:33:29 +00:00
parent a08ef9c928
commit 4b04399584

View file

@ -1241,6 +1241,11 @@ function update_folder_pm_count()
function path($path, $path_relative = true)
{
if ($path === false)
{
return '';
}
if (substr($path, -1) != '/')
{
$path .= '/';