From 62330e789110be03d89dae3b12c28c52a904b2c1 Mon Sep 17 00:00:00 2001 From: anuko Date: Mon, 31 Jul 2017 22:00:02 +0000 Subject: [PATCH] Replaced mktime() with time() call as per issue #36. --- 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 be5b36d8..ecf48d77 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.11.48.3654 | Copyright © Anuko | +  Anuko Time Tracker 1.11.48.3655 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/cron.php b/cron.php index a0bf9853..eb7965a2 100644 --- a/cron.php +++ b/cron.php @@ -45,7 +45,7 @@ import('ttFavReportHelper'); import('ttReportHelper'); $mdb2 = getConnection(); -$now = mktime(); +$now = time(); $sql = "select c.id, c.cron_spec, c.report_id, c.email, c.report_condition from tt_cron c left join tt_fav_reports fr on (c.report_id = fr.id) -- 2.20.1