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:
commit
080233b9b9
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ function display_content(App $a, $update = 0) {
|
||||||
$title = trim(html2plain(bbcode($r[0]["title"], false, false), 0, true));
|
$title = trim(html2plain(bbcode($r[0]["title"], false, false), 0, true));
|
||||||
$author_name = $r[0]["author-name"];
|
$author_name = $r[0]["author-name"];
|
||||||
|
|
||||||
$image = $a->remove_baseurl($r[0]["thumb"]);
|
$image = $a->remove_baseurl($r[0]["author-thumb"]);
|
||||||
|
|
||||||
if ($title == "") {
|
if ($title == "") {
|
||||||
$title = $author_name;
|
$title = $author_name;
|
||||||
|
|
Loading…
Reference in a new issue