From: Nik Okuntseff Date: Mon, 19 Mar 2018 15:10:36 +0000 (+0000) Subject: Removed email display from cron.php as a security fix. X-Git-Tag: timetracker_1.19-1~995 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6b4cf0c797bc18757dd9708713982f733af9c89f;p=timetracker.git Removed email display from cron.php as a security fix. --- 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...
"; }