Merge pull request #21805 from frederic34/patch-4

Update cashcontrol_card.php
This commit is contained in:
Laurent Destailleur 2022-08-22 10:50:23 +02:00 committed by GitHub
commit 9e504a1ce6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ if (GETPOST('cancel', 'alpha')) {
if ($action == "reopen") {
$result = $object->setStatut($object::STATUS_DRAFT, null, '', 'CASHFENCE_REOPEN');
if ($result < 0) {
setEventMessages($object->error, $object->error, 'errors');
setEventMessages($object->error, $object->errors, 'errors');
}
$action = 'view';