We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 048af5ac authored by mattl's avatar mattl

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