]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/ttAdmin.class.php
Fixed a problem with deleting teams by supplying a required parameter.
[timetracker.git] / WEB-INF / lib / ttAdmin.class.php
index 6008dcab3464bfbee463f9d3b88ca40f0d131149..d4b72e2e9b9e9143ed992af05ead3abe68b24655 100644 (file)
@@ -111,7 +111,7 @@ class ttAdmin {
     // Keep the logic simple by returning false on first error.
 
     // Obtain subgroups and call self recursively on them.
-    $subgroups = $this->getSubgroups();
+    $subgroups = $this->getSubgroups($group_id);
     foreach($subgroups as $subgroup) {
       if (!$this->markGroupDeleted($subgroup['id']))
         return false;