Zeile 452 | Zeile 452 |
---|
{ if($event['ignoretimezone'] == 0) {
|
{ if($event['ignoretimezone'] == 0) {
|
$offset = $event['timezone'];
| $offset = (float)$event['timezone'];
|
} else {
|
} else {
|
$offset = $mybb->user['timezone'];
| $offset = (float)$mybb->user['timezone'];
|
} $event['starttime_user'] = $event['starttime']+($offset*3600);
| } $event['starttime_user'] = $event['starttime']+($offset*3600);
|
Zeile 514 | Zeile 514 |
---|
} else if(!$first) {
|
} else if(!$first) {
|
if(!isset($events_cache[$day_date]))
| if(!isset($events_cache[$day_date]) || !is_array($events_cache[$day_date]))
|
{ $events_cache[$day_date] = array(); }
| { $events_cache[$day_date] = array(); }
|