From dd4d5707b0d230622323eb6e81bc6c6fb4c25d9a Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 29 May 2011 21:45:00 -0700 Subject: [PATCH] order groups by name --- include/group.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/group.php b/include/group.php index 8866104fca..d1b3369469 100644 --- a/include/group.php +++ b/include/group.php @@ -161,7 +161,7 @@ $o .= <<< EOT EOT; - $r = q("SELECT * FROM `group` WHERE `deleted` = 0 AND `uid` = %d", + $r = q("SELECT * FROM `group` WHERE `deleted` = 0 AND `uid` = %d ORDER BY `name` ASC", intval($_SESSION['uid']) ); if(count($r)) {