1
1
Fork 0

Merge pull request #3137 from rabuzarus/20170130_-_fix_meta_element_in_display_module

Bugfix: fix the author image in the meta elements in html head (display module)
This commit is contained in:
Tobias Diekershoff 2017-01-30 15:56:41 +01:00 committed by GitHub
commit 080233b9b9

View file

@ -420,7 +420,7 @@ function display_content(App $a, $update = 0) {
$title = trim(html2plain(bbcode($r[0]["title"], false, false), 0, true));
$author_name = $r[0]["author-name"];
$image = $a->remove_baseurl($r[0]["thumb"]);
$image = $a->remove_baseurl($r[0]["author-thumb"]);
if ($title == "") {
$title = $author_name;