diff options
author | Friendika <info@friendika.com> | 2011-05-22 21:47:22 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-22 21:47:22 -0700 |
commit | 3ea145fae7defaf959b04797afc8482bd0190352 (patch) | |
tree | 1e705660b71f16ea0f044eb7b8dc67b443920c31 /addon/facebook | |
parent | 5996e2cd4c82834dace66f7bc4bd7a2ed5e4b293 (diff) | |
download | volse-hubzilla-3ea145fae7defaf959b04797afc8482bd0190352.tar.gz volse-hubzilla-3ea145fae7defaf959b04797afc8482bd0190352.tar.bz2 volse-hubzilla-3ea145fae7defaf959b04797afc8482bd0190352.zip |
fb contacts getting mixed up.
Diffstat (limited to 'addon/facebook')
-rw-r--r-- | addon/facebook/facebook.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php index 9410b73dc..eba9d04b9 100644 --- a/addon/facebook/facebook.php +++ b/addon/facebook/facebook.php @@ -700,13 +700,17 @@ function fb_consume_stream($uid,$j,$wall = false) { ); if(count($r)) $orig_post = $r[0]; - } if(isset($entry->likes) && isset($entry->likes->data)) $likers = $entry->likes->data; + else + $likers = null; + if(isset($entry->comments) && isset($entry->comments->data)) $comments = $entry->comments->data; + else + $comments = null; if(is_array($likers)) { foreach($likers as $likes) { |