From: Roland Häder Date: Wed, 25 Jan 2017 14:59:27 +0000 (+0100) Subject: added more curly braces + a bit more usage of dbm::is_result() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4a96c280d009fdad7de12f9250b091ef2fd73e7f;p=friendica.git added more curly braces + a bit more usage of dbm::is_result() Signed-off-by: Roland Häder --- diff --git a/include/dfrn.php b/include/dfrn.php index 7d5020425b..2c013b070e 100644 --- a/include/dfrn.php +++ b/include/dfrn.php @@ -1137,7 +1137,7 @@ class dfrn { if ($dfrn_version >= 2.1) { - if (($contact['duplex'] && strlen($contact['pubkey'])) + if (($contact['duplex'] && strlen($contact['pubkey'])) { || ($owner['page-flags'] == PAGE_COMMUNITY && strlen($contact['pubkey'])) || ($contact['rel'] == CONTACT_IS_SHARING && strlen($contact['pubkey']))) {