Fixing style errors.

This commit is contained in:
stickler-ci 2021-09-06 12:58:06 +00:00
parent 383c92f6c6
commit 1043bc964d

View File

@ -194,7 +194,7 @@ if (empty($reshook) && isset($extrafields->attributes[$object->table_element]['l
if ($object->element == 'contact') {
$permok = $user->rights->societe->contact->creer;
}
if($object->element == 'salary') {
if ($object->element == 'salary') {
$permok = $user->rights->salaries->read;
}