1
1
Fork 0

Remove deprecated defaults() call in mod/events

This commit is contained in:
Hypolite Petovan 2019-09-06 08:33:41 -04:00
parent 69105928f5
commit c2c3bb2074

View file

@ -321,7 +321,7 @@ function events_content(App $a)
// put the event parametes in an array so we can better transmit them
$event_params = [
'event_id' => intval(defaults($_GET, 'id', 0)),
'event_id' => intval($_GET['id'] ?? 0),
'start' => $start,
'finish' => $finish,
'adjust_start' => $adjust_start,