order groups by name

This commit is contained in:
Friendika 2011-05-29 21:45:00 -07:00
parent 7fb9aa24fb
commit dd4d5707b0

View file

@ -161,7 +161,7 @@ $o .= <<< EOT
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']) intval($_SESSION['uid'])
); );
if(count($r)) { if(count($r)) {