[-] BO: Fix #PSCFV-7377 second part
This commit is contained in:
@@ -3570,6 +3570,7 @@ class ProductCore extends ObjectModel
|
|||||||
$query = 'INSERT INTO `'._DB_PREFIX_.'customization_field_lang` (`id_customization_field`, `id_lang`, `name`) VALUES ';
|
$query = 'INSERT INTO `'._DB_PREFIX_.'customization_field_lang` (`id_customization_field`, `id_lang`, `name`) VALUES ';
|
||||||
$data = array();
|
$data = array();
|
||||||
foreach ($customizations['labels'][$old_customization_field_id] as $customization_label)
|
foreach ($customizations['labels'][$old_customization_field_id] as $customization_label)
|
||||||
|
{
|
||||||
$data = array(
|
$data = array(
|
||||||
'id_customization_field' => (int)$customization_field_id,
|
'id_customization_field' => (int)$customization_field_id,
|
||||||
'id_lang' => (int)$customization_label['id_lang'],
|
'id_lang' => (int)$customization_label['id_lang'],
|
||||||
@@ -3580,6 +3581,7 @@ class ProductCore extends ObjectModel
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user