[-] FO : fixed bug #PSCFV-4316
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17493 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -172,7 +172,7 @@ class AddressControllerCore extends FrontController
|
||||
$address->dni = null;
|
||||
}
|
||||
// Check if the alias exists
|
||||
if (!empty($_POST['alias'])
|
||||
if (!$this->context->customer->is_guest && !empty($_POST['alias'])
|
||||
&& (int)$this->context->customer->id > 0
|
||||
&& Db::getInstance()->getValue('
|
||||
SELECT count(*)
|
||||
|
||||
Reference in New Issue
Block a user