Fixing (some) tests
This commit is contained in:
parent
f04b07b20a
commit
0f09b4f636
|
@ -324,6 +324,10 @@ class BaseApi extends BaseModule
|
||||||
*/
|
*/
|
||||||
public static function addRSSValues(array $arr, int $cid)
|
public static function addRSSValues(array $arr, int $cid)
|
||||||
{
|
{
|
||||||
|
if (empty($cid)) {
|
||||||
|
return $arr;
|
||||||
|
}
|
||||||
|
|
||||||
$user_info = DI::twitterUser()->createFromContactId($cid)->toArray();
|
$user_info = DI::twitterUser()->createFromContactId($cid)->toArray();
|
||||||
|
|
||||||
$arr['$user'] = $user_info;
|
$arr['$user'] = $user_info;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user