From c449d218172275f223e1214fbe7242c0f9d073da Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@osticket.com>
Date: Tue, 17 Feb 2015 16:32:51 +0000
Subject: [PATCH] bug: Add missing return statement

---
 include/class.group.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class.group.php b/include/class.group.php
index 3bbf296f5..24e955f7c 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(){
-- 
GitLab