}
}
- //print_r($usedays);
+ //print_r($this);
foreach($usedays as $d){
foreach($notifytimes as $time){
if (strtotime($time) < time()) {
- // will get deleted..
+ // will not get deleted..
+ unset($old[$time]);
continue;
}
if (isset($old[$time])) {
"act_when" => $time,
"person_id" => $this->person_id,
"onid" => $this->onid,
- "ontable" => $this->ontable
+ "ontable" => $this->ontable,
+ 'evtype' => $this->method,
));
$add->insert();
}