// Format definitions

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11230 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-14 17:21:18 +00:00
parent 3f814a3cf0
commit 49129f85dc
10 changed files with 25 additions and 113 deletions
-13
View File
@@ -156,19 +156,6 @@ class CustomerCore extends ObjectModel
protected static $_customerHasAddress = array();
protected static $_customer_groups = array();
/**
* @see ObjectModel::getFields()
* @return array
*/
public function getFields()
{
$fields = parent::getFields();
if (isset($this->id))
$fields['id_customer'] = (int)$this->id;
return $fields;
}
public function add($autodate = true, $null_values = true)
{
$this->id_shop = ($this->id_shop) ? $this->id_shop : Context::getContext()->shop->getID();