mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-01 08:00:47 +08:00
[Legacy] Fix strict equality
This commit is contained in:
parent
558b86b530
commit
ee7b890e25
1 changed files with 1 additions and 1 deletions
|
@ -1134,7 +1134,7 @@ function showFullName()
|
|||
$sysPref = !empty($sugar_config['use_real_names']);
|
||||
$userPref = (is_object($current_user)) ? $current_user->getPreference('use_real_names') : null;
|
||||
|
||||
if ($userPref != null && $userPref != 'off') {
|
||||
if ($userPref != null && $userPref !== 'off') {
|
||||
$showFullName = ($userPref == 'on');
|
||||
} else {
|
||||
$showFullName = $sysPref;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue