When querying user list, how to judge whether has followed the user and return bool?

Hi @pandalive,

You can solve this problem by setting a default value to $logged_user_id as 0x0 so that it is not empty.

1 Like