From: kkalev Date: Mon, 30 Sep 2002 08:12:07 +0000 (+0000) Subject: Fix a small issue with the general_accounting_info_order X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=72ee02275a809b7ec995213bb547dfb0512f1399;p=freeradius-dialup-admin.git Fix a small issue with the general_accounting_info_order --- diff --git a/AUTHORS b/AUTHORS index 439babe..fc3346e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -16,3 +16,6 @@ A number of bug reports and a lot of crash testing Alex Savguira: alexs@ravdata.com Ido Shavit Patches for auto generate password + +Nick Marino +A number of bug reports diff --git a/Changelog b/Changelog index 701231f..0debab4 100644 --- a/Changelog +++ b/Changelog @@ -19,6 +19,7 @@ Ver 1.60: * In lib/functions.php3 pass a second argument to date2timediv with the current time. user_finger calls that function for each online user so we now don't need to do a lot of calls to time() but only one. That should make user_finger somewhat faster. +* Fix a small issue with the general_accounting_info_order Ver 1.59: * Small html fixes in user_edit.php3 and password.php3 * Show number of failed logins in the last 7 days in the user admin page diff --git a/htdocs/failed_logins.php3 b/htdocs/failed_logins.php3 index 548cc65..45701f9 100644 --- a/htdocs/failed_logins.php3 +++ b/htdocs/failed_logins.php3 @@ -29,7 +29,7 @@ $prev_str = date($config[sql_full_date_format],$start); $pagesize = ($pagesize) ? $pagesize : 10; $limit = ($pagesize == 'all') ? '' : "LIMIT $pagesize"; $selected[$pagesize] = 'selected'; -$order = ($order) ? $order : $config[general_accounting_info_order]; +$order = ($order != '') ? $order : $config[general_accounting_info_order]; if ($order != 'desc' && $order != 'asc') $order = 'desc'; $selected[$order] = 'selected'; diff --git a/htdocs/user_accounting.php3 b/htdocs/user_accounting.php3 index e4d944a..86547f3 100644 --- a/htdocs/user_accounting.php3 +++ b/htdocs/user_accounting.php3 @@ -28,7 +28,7 @@ $num = 0; $pagesize = ($pagesize) ? $pagesize : 10; $limit = ($pagesize == 'all') ? '' : "LIMIT $pagesize"; $selected[$pagesize] = 'selected'; -$order = ($order) ? $order : $config[general_accounting_info_order]; +$order = ($order != '') ? $order : $config[general_accounting_info_order]; if ($order != 'desc' && $order != 'asc') $order = 'desc'; $selected[$order] = 'selected';