From 1dc4d7237116ebf149921a5988be96ab2cf40f3c Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Mon, 17 Dec 2018 19:25:30 +0000 Subject: [PATCH] A small fix for export. --- WEB-INF/lib/ttTeamHelper.class.php | 4 +++- WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/WEB-INF/lib/ttTeamHelper.class.php b/WEB-INF/lib/ttTeamHelper.class.php index 6c058c5d..b94f6434 100644 --- a/WEB-INF/lib/ttTeamHelper.class.php +++ b/WEB-INF/lib/ttTeamHelper.class.php @@ -260,7 +260,9 @@ class ttTeamHelper { $mdb2 = getConnection(); $result = array(); - $sql = "select * from tt_user_project_binds where user_id in (select id from tt_users where group_id = $group_id) order by user_id, status, project_id"; + $sql = "select * from tt_user_project_binds". + " where user_id in (select id from tt_users where group_id = $group_id)". + " and group_id = $group_id order by user_id, status, project_id"; $res = $mdb2->query($sql); $result = array(); if (!is_a($res, 'PEAR_Error')) { diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index bbb21ee9..86ae44cb 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.32.4660 | Copyright © Anuko | +  Anuko Time Tracker 1.18.32.4661 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1