fix test variable has been renanamed in v20 (#29392)

This commit is contained in:
Frédéric FRANCE
2024-04-18 14:53:36 +02:00
committed by GitHub
parent 19dbbc752a
commit dc822d271d

View File

@@ -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';