[RSS Feed/News] User API data returns boolean for "user_title" instead of string

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
\XF\Entity\User::setupApiResultData:


PHP:

$result->user_title = $this->custom_title !== '' ?: $this->app()->templater()->getDefaultUserTitleForUser($this);


Result:

JSON:

Code:
{
  "user": {
    ...
    "user_title": true,
    ...
   }
}
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom