1
0
Fork 0

Fixing (some) tests

This commit is contained in:
Michael 2021-11-20 23:47:03 +00:00
parent f04b07b20a
commit 0f09b4f636

View file

@ -324,6 +324,10 @@ class BaseApi extends BaseModule
*/
public static function addRSSValues(array $arr, int $cid)
{
if (empty($cid)) {
return $arr;
}
$user_info = DI::twitterUser()->createFromContactId($cid)->toArray();
$arr['$user'] = $user_info;