]> git.mxchange.org Git - friendica.git/commitdiff
Opps ...
authorRoland Häder <roland@mxchange.org>
Wed, 25 Jan 2017 15:02:02 +0000 (16:02 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 18 Mar 2017 23:40:47 +0000 (00:40 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
include/dfrn.php

index cd1fef90406f47cef52b03853b8358532b32392b..3017357516681c4b1a9a14af210bfef02da2261f 100644 (file)
@@ -1091,9 +1091,9 @@ 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'])))
+                                       || ($contact['rel'] == CONTACT_IS_SHARING && strlen($contact['pubkey']))) {
 
                                        openssl_public_encrypt($key,$postvars['key'],$contact['pubkey']);
                                } else {