[-] FO : fixed bug #PSCFV-4316

This commit is contained in:
vAugagneur committed 2012-09-24 10:14:07 +00:00
1 parent c0d1335a53
commit 20ef77e94e
1 file changed
+1 -1
+1 -1
View File
@@ -172,7 +172,7 @@ class AddressControllerCore extends FrontController
$address->dni = null; $address->dni = null;
} }
// Check if the alias exists // Check if the alias exists
if (!empty($_POST['alias']) if (!$this->context->customer->is_guest && !empty($_POST['alias'])
&& (int)$this->context->customer->id > 0 && (int)$this->context->customer->id > 0
&& Db::getInstance()->getValue(' && Db::getInstance()->getValue('
SELECT count(*) SELECT count(*)