]> git.mxchange.org Git - friendica.git/blobdiff - include/Contact.php
template-rework:make use of get_contact_details_by_url()
[friendica.git] / include / Contact.php
index 3f74a19d5f44e66f22a9b9dfcdeaed6b6ebdf46f..db5480f5170d68f3a5742d5bf4b4abe6d938d598 100644 (file)
@@ -245,7 +245,7 @@ function get_contact_details_by_url($url, $uid = -1) {
                        $profile["keywords"] = $r[0]["keywords"];
                if (isset($r[0]["gender"]) AND $r[0]["gender"])
                        $profile["gender"] = $r[0]["gender"];
-               if (isset($r[0]["forum"]) AND isset($r[0]["prv"]))
+               if (isset($r[0]["forum"]) OR isset($r[0]["prv"]))
                        $profile["community"] = ($r[0]["forum"] OR $r[0]["prv"]);
                if (isset($r[0]["network"]) AND $r[0]["network"])
                        $profile["network"] = $r[0]["network"];