error display
This commit is contained in:
parent
13e8e3d33c
commit
e5d40bf464
@ -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) {
|
||||||
dol_print_error($db, $object->error, $object->error);
|
setEventMessages($object->error, $object->error, 'errors');
|
||||||
}
|
}
|
||||||
|
|
||||||
$action = 'view';
|
$action = 'view';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user