From eb8098afa5485a5d5d0ade204e1ccfdb3931a9ee Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 4 May 2015 16:42:14 +0800 Subject: [PATCH] DataObjects/Core_notify_recur.php --- DataObjects/Core_notify_recur.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DataObjects/Core_notify_recur.php b/DataObjects/Core_notify_recur.php index a04a2dd6..df6e639d 100644 --- a/DataObjects/Core_notify_recur.php +++ b/DataObjects/Core_notify_recur.php @@ -142,14 +142,14 @@ class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject $notifytimes = $this->notifyTimes(2); - print_R($notifytimes);exit; + ////print_R($notifytimes); $newSearch = DB_DataObject::factory('core_notify'); $newSearch->whereAdd( 'act_start > NOW()'); $newSearch->recur_id = $this->id; $old = $newSearch->fetchAll('act_start', 'id'); // returns array('2012-12-xx'=>12, 'date' => id....) - print_R($old);exit; + foreach($notifytimes as $time){ -- 2.39.2