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