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:
8b96a53
)
And more notices ...
author
Michael
<heluecht@pirati.ca>
Tue, 11 Sep 2018 08:04:14 +0000
(08:04 +0000)
committer
Michael
<heluecht@pirati.ca>
Tue, 11 Sep 2018 08:04:14 +0000
(08:04 +0000)
src/Protocol/PortableContact.php
patch
|
blob
|
history
diff --git
a/src/Protocol/PortableContact.php
b/src/Protocol/PortableContact.php
index
20ee77a
..
2939f69
100644
(file)
--- a/
src/Protocol/PortableContact.php
+++ b/
src/Protocol/PortableContact.php
@@
-1157,9
+1157,9
@@
class PortableContact
if (isset($data['version'])) {
$platform = "Mastodon";
- $version =
$data['version']
;
- $site_name =
$data['title']
;
- $info =
$data['description']
;
+ $version =
defaults($data, 'version', '')
;
+ $site_name =
defaults($data, 'title', '')
;
+ $info =
defaults($data, 'description', '')
;
$network = Protocol::OSTATUS;
}