]> git.mxchange.org Git - friendica.git/commitdiff
The "about" section is now run through bbcode.
authorMichael Vogel <icarus@dabo.de>
Wed, 7 Jan 2015 17:06:32 +0000 (18:06 +0100)
committerMichael Vogel <icarus@dabo.de>
Wed, 7 Jan 2015 17:06:32 +0000 (18:06 +0100)
mod/display.php

index d1da53cf168ab27585e275f0494a933215e6bcc8..3cc6761a4cff906eddb46450d5183607ec4e8615 100644 (file)
@@ -88,7 +88,6 @@ function display_fetchauthor($a, $item) {
        $profiledata["photo"] = proxy_url($item["author-avatar"]);
        $profiledata["url"] = $item["author-link"];
        $profiledata["network"] = $item["network"];
-       $profiledata["address"] = "Ort".print_r($item, true);
 
        // Fetching further contact data from the contact table
        $r = q("SELECT `photo`, `nick`, `location`, `about` FROM `contact` WHERE `nurl` = '%s' AND `uid` = %d",
@@ -96,7 +95,7 @@ function display_fetchauthor($a, $item) {
        if (count($r)) {
                $profiledata["photo"] = proxy_url($r[0]["photo"]);
                $profiledata["address"] = $r[0]["location"];
-               $profiledata["about"] = $r[0]["about"];
+               $profiledata["about"] = bbcode($r[0]["about"]);
                if ($r[0]["nick"] != "")
                        $profiledata["nickname"] = $r[0]["nick"];
        } else {