diff --git a/classes/Customer.php b/classes/Customer.php index 6d3f524e9..fe26b3225 100644 --- a/classes/Customer.php +++ b/classes/Customer.php @@ -196,7 +196,7 @@ class CustomerCore extends ObjectModel return Db::getInstance()->AutoExecute(_DB_PREFIX_.'customer_group', $row, 'INSERT'); } - public function update() + public function update($nullValues = false) { $this->birthday = (empty($this->years) ? $this->birthday : (int)$this->years.'-'.(int)$this->months.'-'.(int)$this->days); if ($this->newsletter && !$this->newsletter_date_add)