mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
Updates for the \' issue but fix for bug #496110 in admin_forums (changed names to utilise constants)
git-svn-id: file:///svn/phpbb/trunk@1681 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -46,7 +46,7 @@ else
|
||||
if( isset($HTTP_POST_VARS['submit']) )
|
||||
{
|
||||
$sql = "UPDATE " . CONFIG_TABLE . " SET
|
||||
config_value = '" . $new[$config_name] . "'
|
||||
config_value = '" . str_replace("\'", "''", $new[$config_name]) . "'
|
||||
WHERE config_name = '$config_name'";
|
||||
if( !$db->sql_query($sql) )
|
||||
{
|
||||
|
Reference in New Issue
Block a user