fix Test differs

This commit is contained in:
Philippe GRAND 2022-09-25 19:06:55 +02:00
parent f2e7e0b210
commit 52b973209e

View File

@ -47,7 +47,7 @@ if (!isModEnabled('accounting')) {
if ($user->socid > 0) {
accessforbidden();
}
if ($user->hasRight('accounting', 'bind', 'write')) {
if (!$user->hasRight('accounting', 'bind', 'write')) {
accessforbidden();
}