From cf7a9d8af30f82deb028a2b17c9ba8c841e93253 Mon Sep 17 00:00:00 2001 From: kkalev Date: Wed, 4 Sep 2002 14:34:20 +0000 Subject: [PATCH] Fix a bug in lib/sql/change_passwd.php3 when not using operators. --- Changelog | 1 + lib/sql/change_passwd.php3 | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Changelog b/Changelog index a442b85..c43146b 100644 --- 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 diff --git a/lib/sql/change_passwd.php3 b/lib/sql/change_passwd.php3 index 7b43c0d..c0be03a 100644 --- a/lib/sql/change_passwd.php3 +++ b/lib/sql/change_passwd.php3 @@ -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")){ -- 2.39.5