diff options
Diffstat (limited to 'include/Contact.php')
-rw-r--r-- | include/Contact.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Contact.php b/include/Contact.php index 4b45a2392..233798181 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -594,7 +594,8 @@ function random_profile() { if(!$r) return ''; // Couldn't get a random channel if($checkrandom) { - if(z_fetch_url($r[0]['xchan_url'])['success']) + $x = z_fetch_url($r[0]['xchan_url']); + if($x['success']) return $r[0]['xchan_url']; else logger('Random channel turned out to be bad.'); |