Commit 048af5ac authored by mmn's avatar mmn

Can't use empty on a function call

parent 3d031951
......@@ -194,7 +194,7 @@ class GroupPrivateMessagePlugin extends Plugin
$gps = null;
if (!empty($action->getGroup())) {
if ($action->getGroup() instanceof User_group) {
$gps = Group_privacy_settings::getKV('group_id', $action->getGroup()->id);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment