mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
issue #3619: check $this->post for being empty instead of being set
This commit is contained in:
@@ -69,7 +69,7 @@ class forum_post_handler
|
|||||||
|
|
||||||
// issue #3619: In case the post id is not set
|
// issue #3619: In case the post id is not set
|
||||||
// use the thread id to look for the moderator ids
|
// use the thread id to look for the moderator ids
|
||||||
if (isset($this->post))
|
if (!empty($this->post))
|
||||||
{
|
{
|
||||||
$moderatorUserIds = $forum->getModeratorUserIdsByPostId($this->post);
|
$moderatorUserIds = $forum->getModeratorUserIdsByPostId($this->post);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user