Removed email display from cron.php as a security fix.
authorNik Okuntseff <support@anuko.com>
Mon, 19 Mar 2018 15:10:36 +0000 (15:10 +0000)
committerNik Okuntseff <support@anuko.com>
Mon, 19 Mar 2018 15:10:36 +0000 (15:10 +0000)
WEB-INF/templates/footer.tpl
cron.php

index 574e53e..b5f80d3 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.17.61.4116 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.17.61.4117 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
index 5f342dd..9424802 100644 (file)
--- 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']."<br>";
+      echo "Report ".$val['report_id']. " sent.<br>";
     else
       echo "Error while emailing report...<br>";
   }