bugfix matrixprodukt int cast

This commit is contained in:
OpenXE 2024-11-28 16:00:35 +01:00
parent e294b9657f
commit a93dd971eb

View File

@ -379,7 +379,7 @@ class Matrixprodukt
} }
$list = $newList; $list = $newList;
} }
$oldnumber = $this->app->DB->Select("SELECT nummer FROM artikel WHERE id = (int)$json->articleId"); $oldnumber = $this->app->DB->Select("SELECT nummer FROM artikel WHERE id = ".((int)$json->articleId));
$created = []; $created = [];
foreach ($list as $optionSet) { foreach ($list as $optionSet) {
$variantId = $this->service->GetVariantIdByOptionSet($optionSet); $variantId = $this->service->GetVariantIdByOptionSet($optionSet);