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:
commit
480de539b0
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user