[-] FO : fixed bug #PSCFV-4316
This commit is contained in:
1 parent
592f688e1b
commit
a9f7f81dbb
1 file changed
+1
-1
@@ -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