Fix phpstan for color on assigned event
This commit is contained in:
parent
7278b7f15a
commit
a0b77c7ffa
1 changed files with 3 additions and 3 deletions
|
|
@ -1947,9 +1947,9 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
|
|||
//var_dump($cacheusers[$event->userownerid]->color);
|
||||
|
||||
// We decide to choose color of owner of event (event->userownerid is user id of owner, event->userassigned contains all users assigned to event)
|
||||
// if (!empty($cacheusers[$event->userownerid]->color)) {
|
||||
// $color = $cacheusers[$event->userownerid]->color;
|
||||
// }
|
||||
if (!empty($cacheusers[$event->userownerid]->color)) {
|
||||
$color = $cacheusers[$event->userownerid]->color;
|
||||
}
|
||||
} elseif ($event->type_code == 'ICALEVENT') { // Event come from external ical file
|
||||
$numical++;
|
||||
if (!empty($event->icalname)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue