From: anuko Date: Mon, 31 Jul 2017 22:00:02 +0000 (+0000) Subject: Replaced mktime() with time() call as per issue #36. X-Git-Tag: timetracker_1.19-1~1493 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=62330e789110be03d89dae3b12c28c52a904b2c1;p=timetracker.git Replaced mktime() with time() call as per issue #36. --- 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)