mirror of
https://github.com/friendica/friendica
synced 2024-11-18 03:43:40 +00:00
Remove deprecated defaults() call in mod/events
This commit is contained in:
parent
69105928f5
commit
c2c3bb2074
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue