]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
Fix a bug in lib/sql/change_passwd.php3 when not using operators.
authorkkalev <kkalev>
Wed, 4 Sep 2002 14:34:20 +0000 (14:34 +0000)
committerkkalev <kkalev>
Wed, 4 Sep 2002 14:34:20 +0000 (14:34 +0000)
Changelog
lib/sql/change_passwd.php3

index a442b85b343e263a2f5b4ab10e276a3cb978e0da..c43146b1212247019a282f804d25fc1b6a901685 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -5,6 +5,7 @@ Ver 1.56:
 * In config.php3 include a relative admin.conf file not an absolute
 * Add an entry in the FAQ about php magic quotes
 * Escape double quotes in attribute values in the user edit page
+* Fix a bug in lib/sql/change_passwd.php3 when not using operators.
 Ver 1.55:
 * Update the FAQ about missing attributes from the user/group edit pages and add a few comments
   in the configuration files
index 7b43c0d4e4d01737ed90c8e32ce58fb64fad0cc8..c0be03a02ea0e1ae4c8497b03b0eb3ad3de2d119 100644 (file)
@@ -10,6 +10,11 @@ if ($config[sql_use_operator] == 'true'){
        $text2  = ",':='";
        $text3 = "AND op = ':='";
 }
+else{
+       $text1 = '';
+       $text2 = '';
+       $text3 = '';
+}
 $link = @da_sql_pconnect($config);
 if ($link){
        if (is_file("../lib/crypt/$config[general_encryption_method].php3")){