removes a php warning
This commit is contained in:
parent
c6c5a28959
commit
010666c20c
|
@ -68,6 +68,8 @@ class ApiExternalUserShowAction extends ApiPrivateAuthAction
|
|||
// get local profile
|
||||
$local_profile = Profile::getKV('profileurl',$profileurl);
|
||||
|
||||
$this->profile = new stdClass();
|
||||
|
||||
if($local_profile) {
|
||||
$this->profile->local = $this->twitterUserArray($local_profile);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user