diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-08 15:14:50 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-08 15:14:50 +0000 |
commit | 281c8763bd2f3d7e9dd83e7e7772009f18a69b86 (patch) | |
tree | 2e2f45e29fb06a44870e953b001307b4d7ee2cba /phpBB/includes/functions_convert.php | |
parent | 539ac00f02f24266f598fb746b2e145e1ec46182 (diff) | |
download | forums-281c8763bd2f3d7e9dd83e7e7772009f18a69b86.tar forums-281c8763bd2f3d7e9dd83e7e7772009f18a69b86.tar.gz forums-281c8763bd2f3d7e9dd83e7e7772009f18a69b86.tar.bz2 forums-281c8763bd2f3d7e9dd83e7e7772009f18a69b86.tar.xz forums-281c8763bd2f3d7e9dd83e7e7772009f18a69b86.zip |
#9659
#9569
git-svn-id: file:///svn/phpbb/trunk@7302 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r-- | phpBB/includes/functions_convert.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php index f2988792a6..8aa8f597e8 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])) ? '' : "'" . 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); } |