mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 18:18:18 +01:00
fix warnings in ticket list
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user