From 676067eafcb8b4b41a65b82ac7e8f75d74848e7c Mon Sep 17 00:00:00 2001 From: Robin-Yann <80888891+Robin-Yann@users.noreply.github.com> Date: Mon, 26 Apr 2021 10:21:25 +0200 Subject: [PATCH] Update card.php --- htdocs/compta/facture/card.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index 31cc5c3b6f3..6995f1aaa22 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -196,7 +196,8 @@ if (empty($reshook)) { setEventMessages($object->error, $object->errors, 'errors'); $action = ''; } - } // Change status of invoice + } + // Change status of invoice elseif ($action == 'reopen' && $usercanreopen) { $result = $object->fetch($id);