wip special days alerts
This commit is contained in:
parent
bd75912a0d
commit
f521dec4e2
|
@ -644,6 +644,7 @@ class CalendarManager
|
|||
);
|
||||
$tmp->options .= '</a>';
|
||||
|
||||
if ($tmp->id != 1) {
|
||||
// Options. Delete.
|
||||
$tmp->options .= '<a href="';
|
||||
$tmp->options .= ui_get_full_url(
|
||||
|
@ -660,6 +661,7 @@ class CalendarManager
|
|||
);
|
||||
$tmp->options .= '</a>';
|
||||
}
|
||||
}
|
||||
|
||||
$carry[] = $tmp;
|
||||
return $carry;
|
||||
|
|
|
@ -105,7 +105,7 @@ $inputs[] = [
|
|||
'name' => 'day_code',
|
||||
'type' => 'select',
|
||||
'fields' => $days,
|
||||
'selected' => $specialDay->day_code(),
|
||||
'selected' => ($specialDay->day_code() === null) ? 1 : $specialDay->day_code(),
|
||||
],
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue