[-] BO: Fix weight impact and default combination on combinations generator
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17378 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+3
-3
@@ -1079,12 +1079,12 @@ class ProductCore extends ObjectModel
|
||||
$obj->available_date = '0000-00-00';
|
||||
}
|
||||
|
||||
$obj->default_on = $default_on;
|
||||
$default_on = 0;
|
||||
|
||||
foreach ($combination as $field => $value)
|
||||
$obj->$field = $value;
|
||||
|
||||
$obj->default_on = $default_on;
|
||||
$default_on = 0;
|
||||
|
||||
$obj->save();
|
||||
|
||||
if (!$id_combination)
|
||||
|
||||
Reference in New Issue
Block a user