mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
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:
@@ -1241,6 +1241,11 @@ function update_folder_pm_count()
|
||||
|
||||
function path($path, $path_relative = true)
|
||||
{
|
||||
if ($path === false)
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
if (substr($path, -1) != '/')
|
||||
{
|
||||
$path .= '/';
|
||||
|
Reference in New Issue
Block a user