Fix: Wrong array element / added logging for DFRN connects (#5609)

This commit is contained in:
Michael Vogel 2018-08-14 03:15:39 +02:00 committed by Hypolite Petovan
parent 1ca8d573e6
commit 116bcae6ab
2 changed files with 2 additions and 1 deletions

View file

@ -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);
}

View file

@ -247,6 +247,7 @@ function dfrn_confirm_post(App $a, $handsfree = null)
if (stristr($res, "<status") === false) {
// wrong xml! stop here!
logger('Unexpected response posting to ' . $dfrn_confirm);
notice(L10n::t('Unexpected response from remote site: ') . EOL . htmlspecialchars($res) . EOL);
return;
}