]> git.mxchange.org Git - friendica.git/blobdiff - mod/cal.php
API: Improved handling of quoted posts and attachments
[friendica.git] / mod / cal.php
index eba8d975865b2728a114b8981be0035375d8216b..51d17a10a43b98cb850d25bb39d7197b0f5969d1 100644 (file)
@@ -200,7 +200,7 @@ function cal_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,