From bb99ac81114c80b424000316b76b5eb1d3c2a2d6 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 22 Jul 2018 19:22:41 -0400 Subject: [PATCH] Fix Fatal error in Protocol\Diaspora (#5460) --- src/Protocol/Diaspora.php | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- 2.39.5