From: Nik Okuntseff Date: Fri, 23 Mar 2018 14:25:28 +0000 (+0000) Subject: Fixed a problem with deleting teams by supplying a required parameter. X-Git-Tag: timetracker_1.19-1~969 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=da435f04300629fd13e7c2c90c3bbd3a8dc349aa;p=timetracker.git Fixed a problem with deleting teams by supplying a required parameter. --- diff --git a/WEB-INF/lib/ttAdmin.class.php b/WEB-INF/lib/ttAdmin.class.php index 6008dcab..d4b72e2e 100644 --- a/WEB-INF/lib/ttAdmin.class.php +++ b/WEB-INF/lib/ttAdmin.class.php @@ -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; diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index efe88efd..881616e0 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.66.4140 | Copyright © Anuko | +  Anuko Time Tracker 1.17.67.4141 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve}