diff --git a/include/class.group.php b/include/class.group.php index 3bbf296f5ecbfaf2173311ac1f23a4124b31746b..24e955f7ce28bffb5e9b804544a65436f96d753a 100644 --- a/include/class.group.php +++ b/include/class.group.php @@ -90,7 +90,7 @@ class Group extends VerySimpleModel { } function isEnabled() { - $this->get('flags') & self::FLAG_ENABLED !== 0; + return ($this->get('flags') & self::FLAG_ENABLED !== 0); } function isActive(){