mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
a08ef9c928
commit
4b04399584
1 changed files with 5 additions and 0 deletions
|
@ -1241,6 +1241,11 @@ function update_folder_pm_count()
|
|||
|
||||
function path($path, $path_relative = true)
|
||||
{
|
||||
if ($path === false)
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
if (substr($path, -1) != '/')
|
||||
{
|
||||
$path .= '/';
|
||||
|
|
Loading…
Add table
Reference in a new issue