diff --git a/include/dfrn.php b/include/dfrn.php index ca2c2393e..877b529ba 100644 --- a/include/dfrn.php +++ b/include/dfrn.php @@ -1961,11 +1961,9 @@ class dfrn { */ /// @TODO Maybe merge these if() blocks into one? - if ($is_a_remote_action && $community) { - if ((!$r[0]["forum_mode"]) && (!$r[0]["wall"])) { - $is_a_remote_action = false; - logger("not a community action"); - } + if ($is_a_remote_action && $community && (!$r[0]["forum_mode"]) && (!$r[0]["wall"])) { + $is_a_remote_action = false; + logger("not a community action"); } if ($is_a_remote_action) {