Merge pull request #443 from PrestaEdit/patch-37

[-] Translations: .. instead of .
This commit is contained in:
Vincent Augagneur
2013-05-20 02:25:55 -07:00
+2 -2
View File
@@ -472,7 +472,7 @@ class AuthControllerCore extends FrontController
Tools::redirect('index.php?controller='.(($this->authRedirection !== false) ? url_encode($this->authRedirection) : 'my-account')); Tools::redirect('index.php?controller='.(($this->authRedirection !== false) ? url_encode($this->authRedirection) : 'my-account'));
} }
else else
$this->errors[] = Tools::displayError('An error occurred while creating your account..'); $this->errors[] = Tools::displayError('An error occurred while creating your account.');
} }
} }
@@ -545,7 +545,7 @@ class AuthControllerCore extends FrontController
else else
$customer->is_guest = 0; $customer->is_guest = 0;
if (!$customer->add()) if (!$customer->add())
$this->errors[] = Tools::displayError('An error occurred while creating your account..'); $this->errors[] = Tools::displayError('An error occurred while creating your account.');
else else
{ {
$address->id_customer = (int)$customer->id; $address->id_customer = (int)$customer->id;