Browse Source

default suggestions not being collected properly

pull/20/head 2.36
friendica 9 years ago
parent
commit
193435e980
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      include/socgraph.php

+ 2
- 1
include/socgraph.php 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;


Loading…
Cancel
Save