]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
Hide some profile data if not connected.
[friendica.git] / mod / follow.php
index 2c8452b1bffa45211b58b1c348ee518ec0ad926b..4a4429f2e6488df0c161abe41127778ea25bec24 100644 (file)
@@ -67,6 +67,11 @@ function follow_content(&$a) {
        if (!$r)
                $r = array(array("location" => "", "about" => "", "keywords" => ""));
 
+       if($ret['network'] === NETWORK_DIASPORA) {
+               $r[0]["location"] = "";
+               $r[0]["about"] = "";
+       }
+
        $header = $ret["name"];
 
        if ($ret["addr"] != "")