]> git.mxchange.org Git - friendica.git/commitdiff
Fix: Wrong array element / added logging for DFRN connects (#5609)
authorMichael Vogel <icarus@dabo.de>
Tue, 14 Aug 2018 01:15:39 +0000 (03:15 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Tue, 14 Aug 2018 01:15:39 +0000 (03:15 +0200)
mod/cal.php
mod/dfrn_confirm.php

index 2cc0b4a592b57be11228aa9ba7ffd87e40cec789..bdedaaacfa8afb99d1d3b3d1952728eafa3cec18 100644 (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);
                }
index e2fbf1cdbec79dbf1d06423d8266012fc42c3b29..333220236ad318593f10c9e88de5eac65aa14371 100644 (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;
                        }