From 116bcae6abd16fcd84df4fa3c8f2f6d40654d997 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 14 Aug 2018 03:15:39 +0200 Subject: [PATCH] Fix: Wrong array element / added logging for DFRN connects (#5609) --- mod/cal.php | 2 +- mod/dfrn_confirm.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/cal.php b/mod/cal.php index 2cc0b4a59..bdedaaacf 100644 --- a/mod/cal.php +++ b/mod/cal.php @@ -224,7 +224,7 @@ function cal_content(App $a) // get events by id or by date if ($event_params['event_id']) { - $r = Event::getListById($owner_uid, $event_params['event-id'], $sql_extra); + $r = Event::getListById($owner_uid, $event_params['event_id'], $sql_extra); } else { $r = Event::getListByDate($owner_uid, $event_params, $sql_extra); } diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index e2fbf1cdb..333220236 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -247,6 +247,7 @@ function dfrn_confirm_post(App $a, $handsfree = null) if (stristr($res, "