From: kkalev Date: Sat, 9 Nov 2002 19:43:13 +0000 (+0000) Subject: Fix a bug in lib/defaults.php3 which did not allow the default.vals file to be used... X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=03704a43a758740eaa4bc6db30bf215ff4617f21;p=freeradius-dialup-admin.git Fix a bug in lib/defaults.php3 which did not allow the default.vals file to be used correctly --- diff --git a/Changelog b/Changelog index 33ae9e6..80a4a09 100644 --- a/Changelog +++ b/Changelog @@ -6,6 +6,7 @@ Ver 1.61: * When spliting cn in lib/ldap/create_user.php3 limit the split to 2 new elements not 3. * Fix a few bugs in log_badlogins * Fix a parse error in failed_logins.php3 +* Fix a bug in lib/defaults.php3 which did not allow the default.vals file to be used correctly Ver 1.60: * Use require_once when including lib/functions.php3 in lib/sql * In the buttons toolbar Edit User should not be clickable. diff --git a/lib/defaults.php3 b/lib/defaults.php3 index 1d21547..80fa493 100644 --- a/lib/defaults.php3 +++ b/lib/defaults.php3 @@ -7,6 +7,7 @@ if (!isset($text_default_vals)){ continue; list($key,$v)=split(":[[:space:]]*",$val); $text_default_vals["$key"][0]="$v"; + $text_default_vals["$key"]['count']++; } if (!isset($text_default_vals)) $text_default_vals["NOT_EXIST"][0] = '0';