ordering preference

This commit is contained in:
friendica 2012-06-19 03:33:40 -07:00
parent 9c4f69cf7f
commit 4c2a40ece8
2 changed files with 1 additions and 1 deletions

BIN
page.tgz

Binary file not shown.

View file

@ -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