From f42e768a0b39f5c375814bf9e3f36fb53563ecfd Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Wed, 27 Feb 2019 00:59:55 +0000 Subject: [PATCH] Fixed adjusting users for clients in fav report emails. --- WEB-INF/lib/ttFavReportHelper.class.php | 4 ++-- WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WEB-INF/lib/ttFavReportHelper.class.php b/WEB-INF/lib/ttFavReportHelper.class.php index 694bb594..8b9f4052 100644 --- a/WEB-INF/lib/ttFavReportHelper.class.php +++ b/WEB-INF/lib/ttFavReportHelper.class.php @@ -448,8 +448,8 @@ class ttFavReportHelper { $user_ids[] = $single_user['id']; } foreach ($users_to_adjust as $user_to_adjust) { - if (in_array($user_to_adjust['id'], $user_ids)) { - $adjusted_user_ids[] = $user_to_adjust['id']; + if (in_array($user_to_adjust, $user_ids)) { + $adjusted_user_ids[] = $user_to_adjust; } } $options['users'] = implode(',', $adjusted_user_ids); diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 1bb542f2..64751238 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.45.4786 | Copyright © Anuko | +  Anuko Time Tracker 1.18.45.4787 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1