// Fix deliveries on new install

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11729 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-22 23:32:45 +00:00
parent a208d6b5cd
commit c209479a7f
40 changed files with 237 additions and 232 deletions
+5
View File
@@ -85,8 +85,13 @@ class DeliveryCore extends ObjectModel
// @todo add null management in definitions
if ($this->id_shop)
$fields['id_shop'] = (int)$this->id_shop;
else
$fields['id_shop'] = null;
if ($this->id_group_shop)
$fields['id_group_shop'] = (int)$this->id_group_shop;
else
$fields['id_group_shop'] = null;
return $fields;
}