fix associations tab in product modification page

This commit is contained in:
Manuel Raynaud
2014-01-21 09:43:55 +01:00
parent 87bc1a83aa
commit 91cf069313
2 changed files with 5 additions and 4 deletions

View File

@@ -123,10 +123,11 @@ class Accessory extends Product
foreach ($results as $loopResultRow) {
$accessoryProductId = $loopResultRow->get('ID');
\Thelia\Log\Tlog::getInstance()->notice($this->accessoryId);
$loopResultRow
->set("ID" , $this->accessoryId[$accessoryProductId])
->set("POSITION", $this->accessoryPosition[$accessoryProductId])
->set("ACCESSORY_ID", $accessoryProductId)
;
}