Update card.php (#33725)

This commit is contained in:
Frédéric FRANCE 2025-04-04 15:29:41 +02:00 committed by GitHub
parent 174d6497b3
commit 5494affea9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2912,7 +2912,7 @@ if (empty($reshook)) {
setEventMessages($object->error, $object->errors, 'errors');
}
}
} elseif ($action == 'updatealllines' && $usercancreate && GETPOST('all_percent') == $langs->trans('Modifier')) { // Update all lines of situation invoice
} elseif ($action == 'updatealllines' && $usercancreate && GETPOST('all_percent') == $langs->trans('Modify')) { // Update all lines of situation invoice
if (!$object->fetch($id) > 0) {
dol_print_error($db);
}