ordering preference
This commit is contained in:
parent
9c4f69cf7f
commit
4c2a40ece8
2 changed files with 1 additions and 1 deletions
BIN
page.tgz
BIN
page.tgz
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue