From 2fbfd4fe4c1716a1e5d56a6ff38895ee811cfe38 Mon Sep 17 00:00:00 2001 From: jyhere Date: Thu, 13 Apr 2023 14:27:27 +0200 Subject: [PATCH] FIX: undefined variable used in order billing mass action --- htdocs/commande/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 49e6b0b3555..7263085337c 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -511,7 +511,7 @@ if (empty($reshook)) { if ($result > 0) { $lineid = $result; if (!empty($createbills_onebythird)) //increment rang to keep order - $TFactThirdNbLines[$rcp->socid]++; + $TFactThirdNbLines[$cmd->socid]++; } else { $lineid = 0; $error++;