aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-10-30 20:05:18 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-10-30 20:05:18 +0000
commit1b259b300e32210c75b425a59a3ee3e9ff235e85 (patch)
treecaff3ce40ae041b7775f49675efa4376d5e10923 /phpBB/posting.php
parent0a4f369681c7bf28c49fe9e9435b2c6ea0fd4915 (diff)
downloadforums-1b259b300e32210c75b425a59a3ee3e9ff235e85.tar
forums-1b259b300e32210c75b425a59a3ee3e9ff235e85.tar.gz
forums-1b259b300e32210c75b425a59a3ee3e9ff235e85.tar.bz2
forums-1b259b300e32210c75b425a59a3ee3e9ff235e85.tar.xz
forums-1b259b300e32210c75b425a59a3ee3e9ff235e85.zip
These ones probably work ...
git-svn-id: file:///svn/phpbb/trunk@2987 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 00ea5387e7..8da84974bb 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -416,7 +416,7 @@ if (isset($post))
));
}
$topic_replies_sql = ($mode == 'reply') ? ', topic_replies = topic_replies + 1' : '';
- $sql = 'UPDATE ' . TOPICS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $forum_sql) . $topic_replies_sql . ' . WHERE topic_id = ' . intval($topic_id);
+ $sql = 'UPDATE ' . TOPICS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $topic_sql) . $topic_replies_sql . ' WHERE topic_id = ' . intval($topic_id);
$db->sql_query($sql);
// Update user post count ... if appropriate