1
0
Fork 0

default suggestions not being collected properly

This commit is contained in:
friendica 2011-12-15 13:52:52 -08:00
parent cc5fd0a136
commit 193435e980

View file

@ -42,7 +42,8 @@ function poco_load($cid,$uid = 0,$url = null) {
logger('poco_load: ' . $url, LOGGER_DATA);
$s = fetch_url($url . '/@me/@all?fields=displayName,urls,photos');
$s = fetch_url($url . ($uid) ? '/@me/@all?fields=displayName,urls,photos' : '?fields=displayName,urls,photos' );
if(($a->get_curl_code() > 299) || (! $s))
return;