Update cashcontrol_card.php

This commit is contained in:
Frédéric FRANCE 2022-08-19 17:46:34 +02:00 committed by GitHub
parent f95612d9a5
commit 97b759f3cc
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';