mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 14:10:28 +01:00
bugfix matrixprodukt int cast
This commit is contained in:
parent
e294b9657f
commit
a93dd971eb
@ -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);
|
||||||
@ -446,4 +446,4 @@ class Matrixprodukt
|
|||||||
$this->app->YUI->TableSearch('TABOPT', 'matrixproduct_option_translations', "show", "", "", basename(__FILE__), __CLASS__);
|
$this->app->YUI->TableSearch('TABOPT', 'matrixproduct_option_translations', "show", "", "", basename(__FILE__), __CLASS__);
|
||||||
$this->app->Tpl->Parse('PAGE', "matrixprodukt_translation.tpl");
|
$this->app->Tpl->Parse('PAGE', "matrixprodukt_translation.tpl");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user