Some refactoring for subgroups.
[timetracker.git] / plugins / MonthlyQuota.class.php
index 6a047ba..36f2d8c 100644 (file)
@@ -38,7 +38,7 @@ class MonthlyQuota {
   function __construct() {
     $this->db = getConnection();
     global $user;
-    $this->group_id = $user->getActiveGroup();
+    $this->group_id = $user->getGroup();
     $this->org_id = $user->org_id;
   }