aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_convert.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-04-10 20:50:14 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-04-10 20:50:14 +0000
commite70cea16b90ba50a6a05aa1e1b091f04805a7c1a (patch)
tree2ea58a48ce2870c9b7cd6e15e64e4255119d9ea3 /phpBB/includes/functions_convert.php
parent067f80ecccf0ba709552e2ccd7c9714534eb80bf (diff)
downloadforums-e70cea16b90ba50a6a05aa1e1b091f04805a7c1a.tar
forums-e70cea16b90ba50a6a05aa1e1b091f04805a7c1a.tar.gz
forums-e70cea16b90ba50a6a05aa1e1b091f04805a7c1a.tar.bz2
forums-e70cea16b90ba50a6a05aa1e1b091f04805a7c1a.tar.xz
forums-e70cea16b90ba50a6a05aa1e1b091f04805a7c1a.zip
checking in some fixes... also added "previous/next pm in history" links to prosilvers private message view; dhn, you may want to have a look at the placement. :)
git-svn-id: file:///svn/phpbb/trunk@7322 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r--phpBB/includes/functions_convert.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php
index 8aa8f597e8..f38dd6fec3 100644
--- a/phpBB/includes/functions_convert.php
+++ b/phpBB/includes/functions_convert.php
@@ -1194,7 +1194,7 @@ function restore_config($schema)
{
if (preg_match('/(.*)\((.*)\)/', $src, $m))
{
- $var = (empty($m[2]) || empty($convert_config[$m[2]])) ? '' : "'" . addslashes($convert_config[$m[2]]) . "'";
+ $var = (empty($m[2]) || empty($convert_config[$m[2]])) ? "''" : "'" . addslashes($convert_config[$m[2]]) . "'";
$exec = '$config_value = ' . $m[1] . '(' . $var . ');';
eval($exec);
}