]> wagnertech.de Git - timetracker.git/blobdiff - cron.php
Replaced mktime() with time() call as per issue #36.
[timetracker.git] / cron.php
index a0bf9853df95994bed6c7f9c084094bcf8744a2c..eb7965a22247e30d1010af54ff7af1f4be79401b 100644 (file)
--- 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)