Bugfix: fix the author image in the meta elements in html head (display module)
This commit is contained in:
parent
dd36b2bded
commit
6d01dd83fe
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