diff --git a/page.tgz b/page.tgz index 43eb2b561..0523c0fe2 100644 Binary files a/page.tgz and b/page.tgz differ diff --git a/page/page.php b/page/page.php index 80d902def..c79b6bea4 100755 --- a/page/page.php +++ b/page/page.php @@ -31,7 +31,7 @@ function page_getpage($uid,$randomise = false) { $pagelist = array(); - $random = (($randomise) ? ' order by rand ' : ' order by name asc '); + $random = (($randomise) ? ' order by rand() ' : ' order by name asc '); $contacts = q("SELECT `id`, `url`, `name`, `micro`FROM `contact` WHERE `network`= 'dfrn' AND `forum` = 1 AND `uid` = %d