diff options
author | friendica <info@friendica.com> | 2011-12-15 13:52:52 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2011-12-15 13:52:52 -0800 |
commit | 193435e9803b29555772f19e45283eb411f91f8b (patch) | |
tree | bb54dd1a38bd486f1b4cc6a39348bb9899758280 | |
parent | cc5fd0a136894702437fc5add133c784e8545b0b (diff) | |
download | volse-hubzilla-193435e9803b29555772f19e45283eb411f91f8b.tar.gz volse-hubzilla-193435e9803b29555772f19e45283eb411f91f8b.tar.bz2 volse-hubzilla-193435e9803b29555772f19e45283eb411f91f8b.zip |
default suggestions not being collected properly
-rw-r--r-- | include/socgraph.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/socgraph.php b/include/socgraph.php index 07dafe7f8..ffd3fd5df 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -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; |