Fix php8.2 warnings

This commit is contained in:
Laurent Destailleur
2023-11-27 12:08:48 +01:00
parent e8dc651877
commit 075ee02901
134 changed files with 698 additions and 698 deletions

View File

@@ -39,7 +39,7 @@ if (!$user->hasRight('user', 'user', 'lire') && !$user->admin) {
$langs->load("users");
$canreadperms = true;
if (!empty($conf->global->MAIN_USE_ADVANCED_PERMS)) {
if (getDolGlobalString('MAIN_USE_ADVANCED_PERMS')) {
$canreadperms = ($user->admin || $user->rights->user->group_advance->read);
}