1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 08:51:50 +02:00

issue #3277: fixed conditional for user_forum_topic_created_probationary event

This commit is contained in:
Achim Ennenbach
2019-01-16 11:58:26 +01:00
parent 58efb74d4d
commit e30d901259

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