From 6b4cf0c797bc18757dd9708713982f733af9c89f Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Mon, 19 Mar 2018 15:10:36 +0000 Subject: [PATCH] Removed email display from cron.php as a security fix. --- WEB-INF/templates/footer.tpl | 2 +- cron.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 574e53e3..b5f80d30 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.61.4116 | Copyright © Anuko | +  Anuko Time Tracker 1.17.61.4117 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/cron.php b/cron.php index 5f342ddf..9424802e 100644 --- a/cron.php +++ b/cron.php @@ -76,7 +76,7 @@ while ($val = $res->fetchRow()) { // Email report if condition is okay. if ($condition_ok) { if (ttReportHelper::sendFavReport($report, $val['subject'], $val['email'], $val['cc'])) - echo "Report ".$val['report_id']. " sent to ".$val['email']."
"; + echo "Report ".$val['report_id']. " sent.
"; else echo "Error while emailing report...
"; } -- 2.20.1