function notifytimes($advance)
{
-
- // make a list of datetimes when notifies need to be generated for.
- // it starts 24 hours ago.. or when dtstart
- $this->notifytimesRange($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);
+
if (strtotime($this->start) > strtotime($this->end)) {
return array(); // no data..
}