projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6910592
)
Remove deprecated defaults() call in mod/events
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Fri, 6 Sep 2019 12:33:41 +0000
(08:33 -0400)
committer
Hypolite Petovan
<hypolite@mrpetovan.com>
Fri, 6 Sep 2019 12:33:41 +0000
(08:33 -0400)
mod/events.php
patch
|
blob
|
history
diff --git
a/mod/events.php
b/mod/events.php
index 86cec9a7d4130edfdafb31a6bd66f10e594bf6b0..82257a84814f653bf8bc3b7c8a2e678c16a0f531 100644
(file)
--- a/
mod/events.php
+++ b/
mod/events.php
@@
-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,