mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Fixed bug in admin_board.php for board settings having single quotes in it
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4932 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b564d1f89e
commit
0bf74adc30
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ else
|
||||||
{
|
{
|
||||||
$config_name = $row['config_name'];
|
$config_name = $row['config_name'];
|
||||||
$config_value = $row['config_value'];
|
$config_value = $row['config_value'];
|
||||||
$default_config[$config_name] = str_replace("'", "\'", $config_value);
|
$default_config[$config_name] = isset($HTTP_POST_VARS['submit']) ? str_replace("'", "\'", $config_value) : $config_value;
|
||||||
|
|
||||||
$new[$config_name] = ( isset($HTTP_POST_VARS[$config_name]) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name];
|
$new[$config_name] = ( isset($HTTP_POST_VARS[$config_name]) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue