From e49f32ab2d7efb31f132b2d2cd53243c29f8f088 Mon Sep 17 00:00:00 2001 From: MDW Date: Mon, 18 Dec 2023 03:13:37 +0100 Subject: [PATCH] dolGetGlobalInt -> getDolGlobalInt Detected with phan -> https://github.com/Dolibarr/dolibarr/actions/runs/7242660297/job/19728384233?pr=26480#step:5:39 --- htdocs/commande/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index 0209622bd21..6453baee8b1 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -206,7 +206,7 @@ if (empty($reshook)) { } elseif ($action == 'reopen' && $usercancreate) { // Reopen a closed order if ($object->statut == Commande::STATUS_CANCELED || $object->statut == Commande::STATUS_CLOSED) { - if (dolGetGlobalInt('ORDER_REOPEN_TO_DRAFT')) { + if (getDolGlobalInt('ORDER_REOPEN_TO_DRAFT')) { $result = $object->setDraft($user, $idwarehouse); if ($result < 0) { setEventMessages($object->error, $object->errors, 'errors');