Skip to content

Commit

Permalink
Bugfix Take 2: Avoid PHP Strict Notice
Browse files Browse the repository at this point in the history
* Creating default object from empty value in /ThinkUp/webapp/plugins/facebook/model/class.FacebookCrawler.php on line 662
  • Loading branch information
ginatrapani committed Jul 19, 2012
1 parent dd83141 commit 19d4310
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webapp/plugins/facebook/model/class.FacebookCrawler.php
Expand Up @@ -659,7 +659,9 @@ private function storeFriends() {

//and users in users table.
$follower_details = FacebookGraphAPIAccessor::apiRequest('/'.$follower_id, $this->access_token);
$follower_details["network"] = $network;
if (isset($follower_details)) {
$follower_details->network = $network;
}

$follower = $this->parseUserDetails($follower_details);
$follower_object = new User($follower);
Expand Down

0 comments on commit 19d4310

Please sign in to comment.