]> git.mxchange.org Git - friendica.git/blobdiff - mod/display.php
Merge pull request #2251 from annando/1601-plaintext
[friendica.git] / mod / display.php
index c41d2f045fcf7ff4b6b2c0204175193737cdcb45..c53e92d05b39829e7c37aae838340cee72ca4433 100644 (file)
@@ -186,7 +186,7 @@ function display_fetchauthor($a, $item) {
 
        // Fetching profile data from global contacts
        if ($profiledata["network"] != NETWORK_FEED) {
-               $r = q("SELECT `name`, `photo`, `nick`, `addr`, `location`, `about`, `gender`, `keywords` FROM `gcontact` WHERE `nurl` = '%s'", dbesc(normalise_link($profiledata["url"])));
+               $r = q("SELECT `name`, `photo`, `nick`, `addr`, `location`, `about`, `gender`, `keywords`, `network` FROM `gcontact` WHERE `nurl` = '%s'", dbesc(normalise_link($profiledata["url"])));
                if (count($r)) {
                        $profiledata["name"] = $r[0]["name"];
                        $profiledata["photo"] = $r[0]["photo"];