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(
'start'=>$item['date'],
'title'=>$item['document']->getName()."\n".$item['msg'],
'allDay'=>false,
'allDay'=>isset($item['allday']) ? $item['allday'] : false,
'color'=>$color,
'type'=>$item['type'],
'documentid'=> (int) $item['document']->getID(),