Skip to content

Commit

Permalink
Facebook Crawler avoid PHP Strict warning, closes #1347
Browse files Browse the repository at this point in the history
  • Loading branch information
ginatrapani committed Jul 5, 2012
1 parent 0783e43 commit 4592e61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webapp/plugins/facebook/model/class.FacebookCrawler.php
Expand Up @@ -663,8 +663,9 @@ private function storeFriends() {

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

$user_dao->updateUser($follower_object);
if (isset($follower_object)) {
$user_dao->updateUser($follower_object);
}
}
//totals in follower_count table
$follower_count_dao->insert($user_id, $network, count($friends->data));
Expand Down

0 comments on commit 4592e61

Please sign in to comment.