}
}
- //print_r($usedays);
+ //print_r($this);
foreach($usedays as $d){
"act_when" => $time,
"person_id" => $this->person_id,
"onid" => $this->onid,
- "ontable" => $this->ontable
+ "ontable" => $this->ontable,
+ 'evtype' => $this->method,
));
$add->insert();
}