From: Nik Okuntseff Date: Wed, 27 Feb 2019 00:59:55 +0000 (+0000) Subject: Fixed adjusting users for clients in fav report emails. X-Git-Tag: timetracker_1.19-1~259 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f42e768a0b39f5c375814bf9e3f36fb53563ecfd;p=timetracker.git Fixed adjusting users for clients in fav report emails. --- 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}