aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-11-07 22:12:04 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-11-07 22:12:04 +0000
commit021929b31fa64098c14d0661c302197b9231fca5 (patch)
treea53f31126187dfd74ae046674096e78415f7aded /phpBB
parent8f14946d09cfa95743066f2d778c273c48d6eb78 (diff)
downloadforums-021929b31fa64098c14d0661c302197b9231fca5.tar
forums-021929b31fa64098c14d0661c302197b9231fca5.tar.gz
forums-021929b31fa64098c14d0661c302197b9231fca5.tar.bz2
forums-021929b31fa64098c14d0661c302197b9231fca5.tar.xz
forums-021929b31fa64098c14d0661c302197b9231fca5.zip
oops
git-svn-id: file:///svn/phpbb/trunk@3015 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 13670450f0..b0555dc838 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -409,7 +409,7 @@ if (isset($post))
'forum_last_poster_id' => intval($user->data['user_id']),
'forum_last_poster_name'=> ($user->data['user_id'] == ANONYMOUS) ? $username : $user->data['username'],
);
- echo $sql = 'UPDATE ' . FORUMS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $forum_sql) . ', forum_posts = forum_posts + 1' . $forum_topics_sql . ' WHERE forum_id IN (' . $forum_ids . ')';
+ $sql = 'UPDATE ' . FORUMS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $forum_sql) . ', forum_posts = forum_posts + 1' . $forum_topics_sql . ' WHERE forum_id IN (' . $forum_ids . ')';
$db->sql_query($sql);
// Update topic: first/last post info, replies