Skip to content

Commit

Permalink
Avoid PHP Notice: Undefined property: stdClass:: [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
ginatrapani committed Aug 10, 2012
1 parent 570011f commit fa7952a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -199,8 +199,8 @@ public function parseJSON($data) {
'author_username'=>$p->from_user, 'user_name'=>$p->from_user,
'in_reply_to_user_id'=>$p->to_user_id,
'author_avatar'=>$p->profile_image_url, 'avatar'=>$p->profile_image_url,
'in_reply_to_post_id'=>$p->in_reply_to_status_id_str, 'author_fullname'=>'', 'full_name'=>'',
'source'=>'twitter', 'location'=>'', 'url'=>'',
'in_reply_to_post_id'=>((isset($p->in_reply_to_status_id_str))?$p->in_reply_to_status_id_str:''),
'author_fullname'=>'', 'full_name'=>'', 'source'=>'twitter', 'location'=>'', 'url'=>'',
'description'=>'', 'is_protected'=>0, 'follower_count'=>0, 'post_count'=>0, 'joined'=>'');
}
return $parsed_payload;
Expand Down

0 comments on commit fa7952a

Please sign in to comment.