From dc822d271d53f3b07d9c8de49b0b64ea06fdd144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 18 Apr 2024 14:53:36 +0200 Subject: [PATCH] fix test variable has been renanamed in v20 (#29392) --- htdocs/core/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 37614a9e30c..ec049318e7c 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -12321,7 +12321,7 @@ function getElementProperties($elementType) } elseif ($elementType == 'inventory') { $module = 'product'; $classpath = 'product/inventory/class'; - } elseif ($element_type == 'stock' || $element_type == 'entrepot') { + } elseif ($elementType == 'stock' || $elementType == 'entrepot') { $module = 'stock'; $classpath = 'product/stock/class'; $classfile = 'entrepot';