1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

Merge pull request #3623 from SimSync/fix_3277

issue #3277: fixed conditional for user_forum_topic_created_probationary event
This commit is contained in:
Cameron
2019-01-16 10:03:37 -08:00
committed by GitHub

View File

@@ -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);
}