From c0214e35e13bcd8c62536c93590a96c580bc6773 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Mon, 23 Jan 2006 18:47:10 +0000 Subject: - fix minor bugs git-svn-id: file:///svn/phpbb/trunk@5490 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/posting.php') 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']]); } -- cgit v1.2.1