]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
Fix a small error in lib/sql/find.php3. This closes bug #103
authorkkalev <kkalev>
Mon, 12 Jul 2004 13:14:39 +0000 (13:14 +0000)
committerkkalev <kkalev>
Mon, 12 Jul 2004 13:14:39 +0000 (13:14 +0000)
Changelog
lib/sql/find.php3

index 4458ed043e3175d040ec2b361254ed463027ca23..0020ba9930e3d6c479e6574360c670273a9827f3 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -19,6 +19,7 @@ Ver 1.72:
   if a function is missing. Currently only array_change_key_case() is included
 * Set general_restrict_nasadmin_access to no by default. It causes confusion.
 * Set the general_username_mappings_file variable
+* Fix a small error in lib/sql/find.php3. This closes bug #103
 Ver 1.70:
 * Add the /bin postgresql compatibility patch from Guy Fraser
 * Add ldap_userdn as a configuration directive. If set we use that for
index d14cdbf348bc9872d20f47fc67dbf644d0b16c0e..3eb6893219b087b1f4f175e09dc734f2c7414f60 100644 (file)
@@ -11,7 +11,7 @@ if ($link){
        $search = da_sql_escape_string($search);
        if (!is_numeric($max_results))
                $max_results = 10;
-       if (($search_IN == 'name' || $search_IN == 'department' || $search_IN == 'username) && 
+       if (($search_IN == 'name' || $search_IN == 'department' || $search_IN == 'username') && 
                        $config[sql_use_user_info_table] == 'true'){
                $res = @da_sql_query($link,$config,
                "SELECT username FROM $config[sql_user_info_table] WHERE