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