Fix for bug # 532327 (This is what happens when I rush something in :D)

git-svn-id: file:///svn/phpbb/trunk@2371 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
the_systech 2002-03-20 14:26:26 +00:00
parent 40c7072be7
commit 8483e9195e

View file

@ -817,8 +817,8 @@ else
$error .= "Could not update Board info :: " . $sql . " :: " . __LINE__ . " :: " . __FILE__ . "<br /><br />"; $error .= "Could not update Board info :: " . $sql . " :: " . __LINE__ . " :: " . __FILE__ . "<br /><br />";
} }
$sql = "UPDATE " . $table_prefix . "config $sql = "UPDATE " . $table_prefix . "config
SET config_value = '" . $server_path . "' SET config_value = '" . $script_path . "'
WHERE config_name = 'server_path'"; WHERE config_name = 'script_path'";
$result = $db->sql_query($sql); $result = $db->sql_query($sql);
if( !$result ) if( !$result )
{ {