Fix #1443 Fatal Error: JUser::getType