Skip to content
Snippets Groups Projects
Commit 431bf28b authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Avoid warning

parent 3446e94e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment