]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
Small change in user_accounting.php3
authorkkalev <kkalev>
Mon, 19 May 2003 07:43:51 +0000 (07:43 +0000)
committerkkalev <kkalev>
Mon, 19 May 2003 07:43:51 +0000 (07:43 +0000)
Changelog
htdocs/user_accounting.php3

index fa8e15b35dee77bb416844e44cc19888dabedd24..46b17fa84b914a571011150a69be7a9dea0fbab2 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -28,6 +28,7 @@ Ver 1.63:
 * Use $config[sql_usergroup_table] in show_groups.php3
 * Add a config directive general_stats_use_totacct. If set we use the totacct table in the stats page instead of
   radacct
+* Small change in user_accounting.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 37a8229b6e3e912f8b96e8d21f210719fcdcf9a9..7fab2a130dc40d72a96f150a82d31f13d40ce950 100644 (file)
@@ -92,6 +92,8 @@ if ($link){
                        $tr_color='white';
                        $num++;
                        $acct_type = "$row[FramedProtocol]/$row[NASPortType]";
+                       if ($acct_type == '')
+                               $acct_type = '-';
                        $acct_logedin = $row[AcctStartTime];
                        $acct_sessiontime = $row[AcctSessionTime];
                        $acct_sessiontime_sum += $acct_sessiontime;