aboutsummaryrefslogtreecommitdiffstats
path: root/include/Contact.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-29 19:31:38 -0700
committerfriendica <info@friendica.com>2012-10-29 19:31:38 -0700
commit1a6415807ebf9ae859134c99eb64a90d7363747a (patch)
tree2f53cb0168079c9f195979474eed950ad7c38734 /include/Contact.php
parente36ca7b41f58cf0a478f222548d419e254a201be (diff)
downloadvolse-hubzilla-1a6415807ebf9ae859134c99eb64a90d7363747a.tar.gz
volse-hubzilla-1a6415807ebf9ae859134c99eb64a90d7363747a.tar.bz2
volse-hubzilla-1a6415807ebf9ae859134c99eb64a90d7363747a.zip
more structural stuff
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 '';
}