diff --git a/src/Module/BaseApi.php b/src/Module/BaseApi.php index c097a58269..1d24e53b9d 100644 --- a/src/Module/BaseApi.php +++ b/src/Module/BaseApi.php @@ -329,6 +329,9 @@ class BaseApi extends BaseModule } $user_info = DI::twitterUser()->createFromContactId($cid)->toArray(); + if (empty($user_info)) { + return $arr; + } $arr['$user'] = $user_info; $arr['$rss'] = [