[-] BO : fix #PSCFV-4596 : added an option for to force the id during CSV import
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17684 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -458,7 +458,7 @@ abstract class ObjectModelCore
|
||||
}
|
||||
|
||||
// Database insertion
|
||||
if (isset($this->id))
|
||||
if (isset($this->id) && !Tools::getValue('forceIDs'))
|
||||
unset($this->id);
|
||||
if (Shop::checkIdShopDefault($this->def['table']))
|
||||
$this->id_shop_default = min($id_shop_list);
|
||||
|
||||
Reference in New Issue
Block a user