1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00
git-svn-id: file:///svn/phpbb/trunk@6210 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2006-07-25 11:58:11 +00:00
parent 9532514c2a
commit 412cf50689

View File

@@ -1687,7 +1687,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
case 'mssql':
case 'mssql_odbc':
$values = array();
foreach ($sql_data as $key => $var)
foreach ($sql_data[POSTS_TABLE]['sql'] as $key => $var)
{
if (is_null($var))
{
@@ -1714,7 +1714,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
case 'sqlite':
$values = array();
foreach ($sql_data as $key => $var)
foreach ($sql_data[POSTS_TABLE]['sql'] as $key => $var)
{
if (is_null($var))
{
@@ -1740,7 +1740,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
break;
default:
$query = $db->sql_build_array('UPDATE', $sql_data);
$query = $db->sql_build_array('UPDATE', $sql_data[POSTS_TABLE]['sql']);
break;
}