From ce4c96d193abf054245024c7b25829e690feb754 Mon Sep 17 00:00:00 2001 From: Achim Ennenbach Date: Wed, 16 Jan 2019 11:44:11 +0100 Subject: [PATCH] issue #3619: check $this->post for being empty instead of being set --- e107_plugins/forum/forum_post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/forum/forum_post.php b/e107_plugins/forum/forum_post.php index febf3e563..42c579983 100644 --- a/e107_plugins/forum/forum_post.php +++ b/e107_plugins/forum/forum_post.php @@ -69,7 +69,7 @@ class forum_post_handler // issue #3619: In case the post id is not set // use the thread id to look for the moderator ids - if (isset($this->post)) + if (!empty($this->post)) { $moderatorUserIds = $forum->getModeratorUserIdsByPostId($this->post); }