mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Add curly braces
This commit is contained in:
@@ -108,8 +108,10 @@ class Bridge_Api
|
||||
*/
|
||||
public function is_disabled()
|
||||
{
|
||||
if ($this->disable_time === null)
|
||||
if ($this->disable_time === null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$date_obj = new DateTime();
|
||||
if ($date_obj > $this->disable_time) {
|
||||
$this->enable();
|
||||
|
Reference in New Issue
Block a user