mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
oops :P
git-svn-id: file:///svn/phpbb/trunk@6210 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
9532514c2a
commit
412cf50689
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue