2
0
forked from Wavyzz/dolibarr

Debug v17

This commit is contained in:
Laurent Destailleur
2022-12-31 14:01:03 +01:00
parent 8dc89e9a9a
commit 751f79b672
31 changed files with 798 additions and 794 deletions

View File

@@ -723,7 +723,11 @@ function restrictedArea(User $user, $features, $object = 0, $tableandshare = '',
if ($mode) {
return $ok ? 1 : 0;
} else {
return $ok ? 1 : accessforbidden('', 1, 1, 0, $params);
if ($ok) {
return 1;
} else {
accessforbidden('', 1, 1, 0, $params);
}
}
}