mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Add curly braces
This commit is contained in:
@@ -540,8 +540,9 @@ class User_Query implements User_QueryInterface
|
||||
*/
|
||||
public function get_total()
|
||||
{
|
||||
if ($this->total)
|
||||
if ($this->total) {
|
||||
return $this->total;
|
||||
}
|
||||
|
||||
$conn = $this->appbox->get_connection();
|
||||
|
||||
@@ -698,8 +699,9 @@ class User_Query implements User_QueryInterface
|
||||
*/
|
||||
public function on_base_ids(Array $base_ids = null)
|
||||
{
|
||||
if ( ! $base_ids)
|
||||
if ( ! $base_ids) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
$this->bases_restrictions = true;
|
||||
|
||||
@@ -722,8 +724,9 @@ class User_Query implements User_QueryInterface
|
||||
*/
|
||||
public function on_sbas_ids(Array $sbas_ids = null)
|
||||
{
|
||||
if ( ! $sbas_ids)
|
||||
if ( ! $sbas_ids) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
$this->sbas_restrictions = true;
|
||||
|
||||
|
Reference in New Issue
Block a user