https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad857b4
)
Fix Fatal error in Protocol\Diaspora (#5460)
author
Hypolite Petovan
<mrpetovan@eml.cc>
Sun, 22 Jul 2018 23:22:41 +0000
(19:22 -0400)
committer
GitHub
<noreply@github.com>
Sun, 22 Jul 2018 23:22:41 +0000
(19:22 -0400)
src/Protocol/Diaspora.php
patch
|
blob
|
history
diff --git
a/src/Protocol/Diaspora.php
b/src/Protocol/Diaspora.php
index
9ad9086
..
341d3d2
100644
(file)
--- 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) {