From: Nik Okuntseff Date: Fri, 7 Dec 2018 14:37:28 +0000 (+0000) Subject: Fixed group_edit.php for no subgroups situation. X-Git-Tag: timetracker_1.19-1~459 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4153fc2584a62ab3949b182e42fb61c804925a08;p=timetracker.git Fixed group_edit.php for no subgroups situation. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index db006ef8..696890b6 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.29.4605 | Copyright © Anuko | +  Anuko Time Tracker 1.18.29.4606 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/group_edit.php b/group_edit.php index 29bfd801..b16a15f0 100644 --- a/group_edit.php +++ b/group_edit.php @@ -40,7 +40,7 @@ import('ttConfigHelper'); if ($request->isGet()) { $group_id = $request->getParameter('id') ? $request->getParameter('id') : $user->getGroup(); } else { - $group_id = $request->getParameter('group'); + $group_id = $request->getParameter('group') ? $request->getParameter('group') : $user->getGroup(); } $home_group = $user->group_id == $group_id; if ($home_group) {