projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c2b6a
)
DataObjects/Core_notify_recur.php
author
Chris
<chris@roojs.com>
Thu, 24 May 2012 04:19:13 +0000
(12:19 +0800)
committer
Chris
<chris@roojs.com>
Thu, 24 May 2012 04:19:13 +0000
(12:19 +0800)
DataObjects/Core_notify_recur.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify_recur.php
b/DataObjects/Core_notify_recur.php
index
37b334c
..
92a8bd2
100644
(file)
--- 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);
- error_log($this->start);
- error_log($this->end);
+
if (strtotime($this->start) > strtotime($this->end)) {
return array(); // no data..
}