]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
Fix a bug in lib/defaults.php3 which did not allow the default.vals file to be used...
authorkkalev <kkalev>
Sat, 9 Nov 2002 19:43:13 +0000 (19:43 +0000)
committerkkalev <kkalev>
Sat, 9 Nov 2002 19:43:13 +0000 (19:43 +0000)
Changelog
lib/defaults.php3

index 33ae9e6e22b3d2ad3a16aff62be9b85d3fb64f3c..80a4a09459c4ffcc44b078f6b7cee61868d3d1d7 100644 (file)
--- 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.
index 1d2154744bb80a484c054cb98fc81ac443e8f6bc..80fa493abafcd4d9a5764637ba8559e5ceb9e6c0 100644 (file)
@@ -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';