MyBB Community Forums

Full Version: Usertitle Result ONLY Shows if Custom User Title, Default User Title is blank?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm creating a page that spits out names in a group plus their user title directly behind their name. 

Unfortunately the usertitle only shows up IF they have a custom user title. The default usertitle (available on accounts that do not have a custom one) is blank and doesn't show. What am I doing wrong in the code?

$usertitle = $result['usertitle'];
I'll link you to the relevant part on GIthub where this is done.