]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
We don't need ORDER BY GroupName in show_groups.php3 since we have GROUP BY
authorkkalev <kkalev>
Sun, 24 Nov 2002 15:08:20 +0000 (15:08 +0000)
committerkkalev <kkalev>
Sun, 24 Nov 2002 15:08:20 +0000 (15:08 +0000)
Changelog
htdocs/show_groups.php3

index 5a157b683f9e33d38b81f808e269d72256a10f68..aa2b0eab6a268079fde8418a850f61cdbc4d3bd3 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -8,6 +8,7 @@ Ver 1.62:
 * Fix a typo in sql.attrmap. Fix by Evren Yurtesen <eyurtese@turkuamk.fi>
 * Work even when register_globals if off. Suggestion from Evren Yurtesen <eyurtese@turkuamk.fi>
   Also add an entry in the FAQ about that.
+* We don't need ORDER BY GroupName in show_groups.php3 since we have GROUP BY
 Ver 1.61:
 * Add a string encoder for greek
 * If general_decode_normal_attributes is set then encode attributes in lib/ldap/change_info. In the near future
index 4a9251f2562c9b25ff419147bfae9f2c67bdbdc0..02edd9680dbf04e70df982559e48f37cb46693fc 100644 (file)
@@ -56,7 +56,7 @@ EOM;
 $link = @da_sql_pconnect($config);
 if ($link){
        $search = @da_sql_query($link,$config,
-       "SELECT COUNT(*),GroupName FROM usergroup Group by GroupName ORDER BY GroupName;");
+       "SELECT COUNT(*),GroupName FROM usergroup GROUP BY GroupName;");
        if ($search){
                if (@da_sql_num_rows($search,$config)){
                        while( $row = @da_sql_fetch_array($search,$config) ){