From e30d901259afc2935ed0b0b3e1308fcf13fbb6a6 Mon Sep 17 00:00:00 2001 From: Achim Ennenbach Date: Wed, 16 Jan 2019 11:58:26 +0100 Subject: [PATCH] issue #3277: fixed conditional for user_forum_topic_created_probationary event --- e107_plugins/forum/forum_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/forum/forum_class.php b/e107_plugins/forum/forum_class.php index 261d8937a..24d6444e3 100644 --- a/e107_plugins/forum/forum_class.php +++ b/e107_plugins/forum/forum_class.php @@ -988,7 +988,7 @@ class e107forum $triggerData['post_id'] = $newPostId; - if (e107::getDb()->count('forum_post', '(post_id)', 'WHERE post_user = "'.USERID.'"') > 0) + if (e107::getDb()->count('forum_post', '(post_id)', 'WHERE post_user = "'.USERID.'"') > 1) { e107::getEvent()->trigger('user_forum_topic_created', $triggerData); }