From c49a044490f4e52a99836739cf199ae2a3838b86 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 20 Oct 2023 02:35:18 +0200 Subject: [PATCH] Clean code --- htdocs/reception/class/reception.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/reception/class/reception.class.php b/htdocs/reception/class/reception.class.php index 156c94d678e..39a4353a3c4 100644 --- a/htdocs/reception/class/reception.class.php +++ b/htdocs/reception/class/reception.class.php @@ -685,7 +685,8 @@ class Reception extends CommonObject // Set new ref and current status if (!$error) { $this->ref = $numref; - $this->statut = 1; + $this->statut = self::STATUS_VALIDATED; + $this->status = self::STATUS_VALIDATED; } if (!$error) {