removes a php warning

This commit is contained in:
Hannes Mannerheim 2014-11-25 02:38:46 +01:00
parent c6c5a28959
commit 010666c20c

View File

@ -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);