aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_convert.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-03-15 08:33:29 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-03-15 08:33:29 +0000
commit4b0439958401369367cb928e562c442a8a4273cd (patch)
tree335e5bd3058c897c139e19bda7f3a1c3e5b30910 /phpBB/includes/functions_convert.php
parenta08ef9c9286456a583e73453b34d09346d023db1 (diff)
downloadforums-4b0439958401369367cb928e562c442a8a4273cd.tar
forums-4b0439958401369367cb928e562c442a8a4273cd.tar.gz
forums-4b0439958401369367cb928e562c442a8a4273cd.tar.bz2
forums-4b0439958401369367cb928e562c442a8a4273cd.tar.xz
forums-4b0439958401369367cb928e562c442a8a4273cd.zip
if path is false we do not return one...
git-svn-id: file:///svn/phpbb/trunk@7198 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r--phpBB/includes/functions_convert.php5
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 .= '/';