]> git.mxchange.org Git - friendica.git/blobdiff - mod/display.php
Merge pull request #3448 from annando/1705-dba-functions
[friendica.git] / mod / display.php
index adbe7c67614c82ad444e08f962a9d36f39fb1c6b..ca6809eba14c6fb9b34c359d2f4db172ce83417f 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Friendica\App;
+
 function display_init(App $a) {
 
        if ((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
@@ -106,7 +108,6 @@ function display_init(App $a) {
        }
 
        profile_load($a, $nick, 0, $profiledata);
-
 }
 
 function display_fetchauthor($a, $item) {
@@ -420,7 +421,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;