]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/ttSysConfig.class.php
Some refactoring for subgroups.
[timetracker.git] / WEB-INF / lib / ttSysConfig.class.php
index fd9905210e301457cf640fd63621cfeae04bfdbd..4cc5f8c263409e3cd14dc9afda3d89eeb9a7566b 100644 (file)
@@ -44,7 +44,7 @@ class ttSysConfig {
   function __construct($user_id) {
     global $user;
     $this->user_id = $user_id; // TODO: review "on behalf" situation and refactor if necessary.
-    $this->group_id = $user->getActiveGroup();
+    $this->group_id = $user->getGroup();
     $this->org_id = $user->org_id;
     $this->mdb2 = getConnection();
   }