Fix: Avoid warning
This commit is contained in:
parent
3446e94e51
commit
431bf28b5d
@ -1725,7 +1725,7 @@ class User extends CommonObject
|
||||
}
|
||||
|
||||
// If order not defined, we use the setup
|
||||
if ($nameorder < 0) $nameorder=(! $conf->global->MAIN_FIRSTNAME_NAME_POSITION);
|
||||
if ($nameorder < 0) $nameorder=empty($conf->global->MAIN_FIRSTNAME_NAME_POSITION)?1:0;
|
||||
|
||||
if ($nameorder)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user