Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hubzilla
core
Commits
3563568f
Commit
3563568f
authored
Jun 07, 2017
by
Zot
Committed by
Mario
Jun 08, 2017
Browse files
fall back on feed logo if an author avatar cannot be found
parent
912be5a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/feedutils.php
View file @
3563568f
...
...
@@ -1185,6 +1185,10 @@ function feed_meta($xml) {
}
}
if
(
!
$author
[
'author_photo'
])
$author
[
'author_photo'
]
=
$feed
->
get_image_url
();
if
(
substr
(
$author
[
'author_link'
],
-
1
,
1
)
==
'/'
)
$author
[
'author_link'
]
=
substr
(
$author
[
'author_link'
],
0
,
-
1
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment