// Fix deliveries on new install

This commit is contained in:
rMalie
2011-12-22 23:32:45 +00:00
parent 82409653fd
commit 34ed4de5cb
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;
}