diff --git a/public/legacy/include/utils.php b/public/legacy/include/utils.php index 3a9816b54..ef5f6fe38 100755 --- a/public/legacy/include/utils.php +++ b/public/legacy/include/utils.php @@ -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;