aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-01-23 18:47:10 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-01-23 18:47:10 +0000
commitc0214e35e13bcd8c62536c93590a96c580bc6773 (patch)
treee869b8f8641dc8d97c892b5e800ef11832edfff8 /phpBB/posting.php
parent4b08c14417d716c6186250d54ed35d578c074707 (diff)
downloadforums-c0214e35e13bcd8c62536c93590a96c580bc6773.tar
forums-c0214e35e13bcd8c62536c93590a96c580bc6773.tar.gz
forums-c0214e35e13bcd8c62536c93590a96c580bc6773.tar.bz2
forums-c0214e35e13bcd8c62536c93590a96c580bc6773.tar.xz
forums-c0214e35e13bcd8c62536c93590a96c580bc6773.zip
- fix minor bugs
git-svn-id: file:///svn/phpbb/trunk@5490 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 99baa6a1b8..e1867cd953 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -1771,7 +1771,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
}
$update_sql = update_post_information('topic', $data['topic_id'], true);
- if (sizeof($update))
+ if (sizeof($update_sql))
{
$sql_data[TOPICS_TABLE]['stat'][] = implode(', ', $update_sql[$data['topic_id']]);
}