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, "