Skip to content

Commit

Permalink
ordering preference
Browse files Browse the repository at this point in the history
  • Loading branch information
friendica committed Jun 19, 2012
1 parent 9c4f69c commit 4c2a40e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified page.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion page/page.php
Expand Up @@ -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
Expand Down

0 comments on commit 4c2a40e

Please sign in to comment.