From: Hypolite Petovan Date: Sun, 22 Jul 2018 23:22:41 +0000 (-0400) Subject: Fix Fatal error in Protocol\Diaspora (#5460) X-Git-Url: https://git.mxchange.org/?p=friendica.git;a=commitdiff_plain;h=bb99ac81114c80b424000316b76b5eb1d3c2a2d6 Fix Fatal error in Protocol\Diaspora (#5460) --- diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 9ad90869be..341d3d2a89 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -2764,6 +2764,10 @@ class Diaspora return false; } + if (!$contact) { + $contact = []; + } + logger("Got retraction for ".$target_type.", sender ".$sender." and user ".$importer["uid"], LOGGER_DEBUG); switch ($target_type) {