From d771e77690e695953928c532f0e1b407c1f7c40e Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 24 May 2012 12:20:10 +0800 Subject: [PATCH] DataObjects/Core_notify_recur.php --- DataObjects/Core_notify_recur.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DataObjects/Core_notify_recur.php b/DataObjects/Core_notify_recur.php index 92a8bd24..cae82c9a 100644 --- a/DataObjects/Core_notify_recur.php +++ b/DataObjects/Core_notify_recur.php @@ -58,12 +58,12 @@ class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject function notifytimes($advance) { - error_log($this->start); - error_log($this->end); + // make a list of datetimes when notifies need to be generated for. // it starts 24 hours ago.. or when dtstart - list($this->start, $this->end) = $this->notifytimesRange($advance); - + $this->notifytimesRange($advance); + error_log($this->start); + error_log($this->end); if (strtotime($this->start) > strtotime($this->end)) { return array(); // no data.. } -- 2.39.2