2
0
forked from Wavyzz/dolibarr

Fixing style errors.

This commit is contained in:
stickler-ci
2021-10-26 14:56:56 +00:00
parent 406089ef0c
commit 6fd08bc5ef

View File

@@ -494,10 +494,10 @@ function restrictedArea($user, $features, $objectid = 0, $tableandshare = '', $f
$deleteok = 0;
}
} elseif ($feature == 'payment') {
if (!$user->rights->facture->supprimer) {
$deleteok = 0;
}
}elseif ($feature == 'banque') {
if (!$user->rights->facture->supprimer) {
$deleteok = 0;
}
} elseif ($feature == 'banque') {
if (!$user->rights->banque->modifier) {
$deleteok = 0;
}