1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-13 17:09:46 +01: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
commit 480de539b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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