]> wagnertech.de Git - timetracker.git/blobdiff - plugins/MonthlyQuota.class.php
Some refactoring for subgroups.
[timetracker.git] / plugins / MonthlyQuota.class.php
index 6a047baddacb483c176615ebbfd143dfea67cf59..36f2d8cb482668a00e1616b821451a7629ddaf19 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;
   }