Merge pull request #21805 from frederic34/patch-4
Update cashcontrol_card.php
This commit is contained in:
commit
9e504a1ce6
@ -128,7 +128,7 @@ if (GETPOST('cancel', 'alpha')) {
|
|||||||
if ($action == "reopen") {
|
if ($action == "reopen") {
|
||||||
$result = $object->setStatut($object::STATUS_DRAFT, null, '', 'CASHFENCE_REOPEN');
|
$result = $object->setStatut($object::STATUS_DRAFT, null, '', 'CASHFENCE_REOPEN');
|
||||||
if ($result < 0) {
|
if ($result < 0) {
|
||||||
setEventMessages($object->error, $object->error, 'errors');
|
setEventMessages($object->error, $object->errors, 'errors');
|
||||||
}
|
}
|
||||||
|
|
||||||
$action = 'view';
|
$action = 'view';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user