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);