1
0
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:
Paul S. Owen
2001-12-24 13:05:00 +00:00
parent 7f8ba1c339
commit 631fb71118
3 changed files with 35 additions and 35 deletions

View File

@@ -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) )
{