Correctly cast calendarID

This commit is contained in:
Raimund Schlüßler 2015-08-15 15:46:17 +02:00
parent 62a29c3ab3
commit ddfee4c49a

View file

@ -45,7 +45,7 @@ Class TaskParser {
*/
public function parseTask($vtodo, $calendarID){
$task = array( 'id' => (string) $vtodo->ID);
$task['calendarid'] = $calendarID;
$task['calendarid'] = (string) $calendarID;
$task['type'] = 'task';
$task['name'] = (string) $vtodo->SUMMARY;
$task['created'] = (string) $vtodo->CREATED;