mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Fix array declaration
This commit is contained in:
@@ -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'])) {
|
||||
|
Reference in New Issue
Block a user