From 5083a5889a7fbdece890a26eae5c03fa21111279 Mon Sep 17 00:00:00 2001 From: kkalev Date: Mon, 19 May 2003 07:43:51 +0000 Subject: [PATCH] Small change in user_accounting.php3 --- Changelog | 1 + htdocs/user_accounting.php3 | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Changelog b/Changelog index fa8e15b..46b17fa 100644 --- 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 diff --git a/htdocs/user_accounting.php3 b/htdocs/user_accounting.php3 index 37a8229..7fab2a1 100644 --- a/htdocs/user_accounting.php3 +++ b/htdocs/user_accounting.php3 @@ -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; -- 2.39.5