From 24c8ae6109e6a4672648993d226fd1634867c5b6 Mon Sep 17 00:00:00 2001 From: kkalev Date: Thu, 16 Sep 2004 21:12:21 +0000 Subject: [PATCH] Fix bug #136, bugs found by Pawel Foremski --- Changelog | 1 + lib/sql/change_passwd.php3 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 36903e7..46758c2 100644 --- a/Changelog +++ b/Changelog @@ -25,6 +25,7 @@ Ver 1.75: * Make 'Add NAS' function in the nas admin page more easily accessible * Fix a small bug in user_admin.php3 found by Joerg Staedele * Fix a small typo in the userinfo mysql schema. Found by Evert Meulie +* Fix bug #136, bugs found by Pawel Foremski Ver 1.72: * Move the xlat function to a separate file in lib/xlat.php3 * Add a lib/sql/nas_list.php3 to also get the nas list from sql (naslist.conf still works) diff --git a/lib/sql/change_passwd.php3 b/lib/sql/change_passwd.php3 index 5da1f82..35fa1dc 100644 --- a/lib/sql/change_passwd.php3 +++ b/lib/sql/change_passwd.php3 @@ -5,10 +5,10 @@ else{ echo "Could not include SQL library
\n"; exit(); } -if ($config[sql_use_operator] == 'true'){ +if ($config[sql_use_operators] == 'true'){ $text1 = ',op'; $text2 = ",':='"; - $text3 = "AND op = ':='"; + $text3 = ", op = ':='"; } else{ $text1 = ''; -- 2.39.5