Fix array declaration

This commit is contained in:
Romain Neutron
2013-12-20 10:43:04 +01:00
parent 573b51451a
commit 05b360ed0f

View File

@@ -548,7 +548,7 @@ class Users implements ControllerProviderInterface
$row = $stmt->fetch(\PDO::FETCH_ASSOC);
$stmt->closeCursor();
$acceptColl = $denyColl = [];
$acceptColl = $denyColl = array();
if ($row) {
if (\Swift_Validate::email($row['usr_mail'])) {