1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

issue #3619: check $this->post for being empty instead of being set

This commit is contained in:
Achim Ennenbach
2019-01-16 11:44:11 +01:00
parent 995702f5c6
commit ce4c96d193

View File

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