From: Edward Date: Mon, 4 May 2015 08:42:14 +0000 (+0800) Subject: DataObjects/Core_notify_recur.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=eb8098afa5485a5d5d0ade204e1ccfdb3931a9ee;hp=b532d8ba8a1a31c996eb7cd4f873a7de3ff4dce0 DataObjects/Core_notify_recur.php --- 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){