]> git.mxchange.org Git - friendica.git/blobdiff - mod/poco.php
added index to config and pconfig table
[friendica.git] / mod / poco.php
old mode 100644 (file)
new mode 100755 (executable)
index 6efd4ab..79cf820
@@ -127,8 +127,9 @@ function poco_init(&$a) {
                                        $entry['displayName'] = $rr['name'];
                                if($fields_ret['urls']) {
                                        $entry['urls'] = array(array('value' => $rr['url'], 'type' => 'profile'));
-                                       if($rr['addr'] && ($rr['network'] !== NETWORK_MAIL)
+                                       if($rr['addr'] && ($rr['network'] !== NETWORK_MAIL))
                                                $entry['urls'][] = array('value' => 'acct:' . $rr['addr'], 'type' => 'webfinger');  
+                               }
                                if($fields_ret['preferredUsername'])
                                        $entry['preferredUsername'] = $rr['nick'];
                                if($fields_ret['photos'])