fix warnings in ticket list

This commit is contained in:
Frédéric FRANCE
2021-10-24 10:02:12 +02:00
parent d240a9f774
commit cc374e9eb1
26 changed files with 36 additions and 36 deletions

View File

@@ -304,7 +304,7 @@ function restrictedArea($user, $features, $objectid = 0, $tableandshare = '', $f
$nbko++;
}
} elseif ($feature == 'projet') {
if (!$user->rights->projet->lire && !$user->rights->projet->all->lire) {
if (!$user->rights->projet->lire && empty($user->rights->projet->all->lire)) {
$readok = 0;
$nbko++;
}