aboutsummaryrefslogtreecommitdiffstats
path: root/include/Contact.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/Contact.php')
-rw-r--r--include/Contact.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Contact.php b/include/Contact.php
index f442f112c..c3600b9a3 100644
--- a/include/Contact.php
+++ b/include/Contact.php
@@ -238,9 +238,9 @@ function contact_photo_menu($contact) {
function random_profile() {
- $r = q("select xchan_profile from xchan where xchan_network = 'zot' order by rand() limit 1");
+ $r = q("select xchan_url from xchan where xchan_network = 'zot' order by rand() limit 1");
if($r && count($r))
- return $r[0]['xchan_profile'];
+ return $r[0]['xchan_url'];
return '';
}