X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpoco.php;h=21ee4df695906291e2e3cad07c1e0b8f101dbff1;hb=00c342e13d833fd215e5dc03a508e1abe660fe21;hp=2c2aeb656ccfd1d82c1a6632d35e9d1f4cd331ca;hpb=ea0ab6fbac0dc317eb2e81abedbd3855c08a14c5;p=friendica.git diff --git a/mod/poco.php b/mod/poco.php index 2c2aeb656c..21ee4df695 100644 --- a/mod/poco.php +++ b/mod/poco.php @@ -98,11 +98,11 @@ function poco_init(&$a) { if($fields_ret['displayName']) $entry['displayName'] = $rr['name']; if($fields_ret['urls']) - $entry['urls'] = array('value' => $rr['url'], 'type' => 'profile'); + $entry['urls'] = array(array('value' => $rr['url'], 'type' => 'profile')); if($fields_ret['preferredUsername']) $entry['preferredUsername'] = $rr['nick']; if($fields_ret['photos']) - $entry['photos'] = array('value' => $rr['photo'], 'type' => 'profile'); + $entry['photos'] = array(array('value' => $rr['photo'], 'type' => 'profile')); $ret['entry'][] = $entry; } }