mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Add curly braces
This commit is contained in:
@@ -44,8 +44,9 @@ function giveMeBases($usr = null)
|
||||
$rsU = $stmt->fetchAll(PDO::FETCH_ASSOC);
|
||||
$stmt->closeCursor();
|
||||
|
||||
if (count($rsU) == 0)
|
||||
if (count($rsU) == 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
foreach ($rsU as $rowU) {
|
||||
if ( ! isset($usrerRegis[$rowU['dbname']]))
|
||||
|
Reference in New Issue
Block a user