mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Add curly braces
This commit is contained in:
@@ -33,8 +33,9 @@ class lazaret extends set_abstract
|
||||
|
||||
$base_ids = array_keys($user->ACL()->get_granted_base(array('canaddrecord')));
|
||||
|
||||
if (count($base_ids) == 0)
|
||||
if (count($base_ids) == 0) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
$sql = "SELECT id, filepath, filename, base_id,
|
||||
uuid, errors, created_on, usr_id
|
||||
|
Reference in New Issue
Block a user