check if flag 'allday' is set

This commit is contained in:
Uwe Steinmann 2017-12-19 08:27:10 +01:00
parent 228bfffba1
commit d1a6651fa5

View File

@ -208,7 +208,7 @@ class SeedDMS_View_Calendar extends SeedDMS_Bootstrap_Style {
$arr[] = array( $arr[] = array(
'start'=>$item['date'], 'start'=>$item['date'],
'title'=>$item['document']->getName()."\n".$item['msg'], 'title'=>$item['document']->getName()."\n".$item['msg'],
'allDay'=>false, 'allDay'=>isset($item['allday']) ? $item['allday'] : false,
'color'=>$color, 'color'=>$color,
'type'=>$item['type'], 'type'=>$item['type'],
'documentid'=> (int) $item['document']->getID(), 'documentid'=> (int) $item['document']->getID(),