Fix Fatal error in Protocol\Diaspora (#5460)

This commit is contained in:
Hypolite Petovan 2018-07-22 19:22:41 -04:00 committed by GitHub
parent ad857b4314
commit bb99ac8111
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {