diff options
author | David M <davidmj@users.sourceforge.net> | 2006-07-25 11:58:11 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-07-25 11:58:11 +0000 |
commit | 412cf506891e7e35dcf1b35190bc2a05d823bb96 (patch) | |
tree | 198ad912f6e9c4dd4b8e7418ae10718cc81b3211 /phpBB/includes | |
parent | 9532514c2a566437a9524af1dfca298da58fd40a (diff) | |
download | forums-412cf506891e7e35dcf1b35190bc2a05d823bb96.tar forums-412cf506891e7e35dcf1b35190bc2a05d823bb96.tar.gz forums-412cf506891e7e35dcf1b35190bc2a05d823bb96.tar.bz2 forums-412cf506891e7e35dcf1b35190bc2a05d823bb96.tar.xz forums-412cf506891e7e35dcf1b35190bc2a05d823bb96.zip |
oops :P
git-svn-id: file:///svn/phpbb/trunk@6210 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions_posting.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index d0567f5e76..328677d4a9 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -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; } |