mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Fix array declaration
This commit is contained in:
@@ -548,7 +548,7 @@ class Users implements ControllerProviderInterface
|
|||||||
$row = $stmt->fetch(\PDO::FETCH_ASSOC);
|
$row = $stmt->fetch(\PDO::FETCH_ASSOC);
|
||||||
$stmt->closeCursor();
|
$stmt->closeCursor();
|
||||||
|
|
||||||
$acceptColl = $denyColl = [];
|
$acceptColl = $denyColl = array();
|
||||||
|
|
||||||
if ($row) {
|
if ($row) {
|
||||||
if (\Swift_Validate::email($row['usr_mail'])) {
|
if (\Swift_Validate::email($row['usr_mail'])) {
|
||||||
|
Reference in New Issue
Block a user