]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
Use $config[sql_usergroup_table] in show_groups.php3
authorkkalev <kkalev>
Sun, 11 May 2003 14:03:37 +0000 (14:03 +0000)
committerkkalev <kkalev>
Sun, 11 May 2003 14:03:37 +0000 (14:03 +0000)
Changelog
htdocs/show_groups.php3

index fedc09da6757633de144a56e3112175f2b7dffd2..248c75c15135f1a5dd2f9edacf957160fd70dcde 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -25,6 +25,7 @@ Ver 1.63:
 * When checking the weekly limit check first that $remaining is numeric before doing any comparisons
 * Add a usage_summary parameter in user_finger. If it is passed then we only output a text like:
   "Online: <num> Free: <num>" which can be used in outside pages
+* Use $config[sql_usergroup_table] in show_groups.php3
 Ver 1.62:
 * Remove one sql query from user_admin which was not needed.
 * Instead of a query like "LIKE 'YYYY-MM-DD%'" use "AcctStopTime >= 'YYYY-MM-DD 00:00:00 AND AcctStopTime
index ce02476a53cfca05b678df37e821b8447d6437f0..101f05295521832c0c224d637980dc661c79f0a9 100644 (file)
@@ -58,7 +58,7 @@ EOM;
 $link = @da_sql_pconnect($config);
 if ($link){
        $search = @da_sql_query($link,$config,
-       "SELECT COUNT(*),GroupName FROM usergroup GROUP BY GroupName;");
+       "SELECT COUNT(*),GroupName FROM $config[sql_usergroup_table] GROUP BY GroupName;");
        if ($search){
                if (@da_sql_num_rows($search,$config)){
                        while( $row = @da_sql_fetch_array($search,$config) ){