aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-07-25 11:58:11 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-07-25 11:58:11 +0000
commit412cf506891e7e35dcf1b35190bc2a05d823bb96 (patch)
tree198ad912f6e9c4dd4b8e7418ae10718cc81b3211 /phpBB/includes/functions_posting.php
parent9532514c2a566437a9524af1dfca298da58fd40a (diff)
downloadforums-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/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php6
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;
}