[Xfce4-commits] [www/forum.xfce.org] 17/79: Fix typo in update query.
noreply at xfce.org
noreply at xfce.org
Tue May 21 14:48:12 CEST 2019
This is an automated email from the git hooks/post-receive script.
s k u n n y k p u s h e d a c o m m i t t o b r a n c h o l d f o r u m
in repository www/forum.xfce.org.
commit 8cbf9cdb28e0b9db4754a02dbdec0dc14ad60787
Author: Nick Schermer <nick at xfce.org>
Date: Tue Nov 16 23:22:58 2010 +0100
Fix typo in update query.
---
login.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/login.php b/login.php
index 83236c0..ab2826c 100644
--- a/login.php
+++ b/login.php
@@ -73,7 +73,7 @@ if (isset($_POST['form_sent']) && $action == 'in')
if ($authorized && $update_db_password)
{
// Replace the SMF password with an FluxBB password
- $db->query('UPDATE '.$db->prefix.'users SET password=\''.$form_password_hash.'\', salt=NULL WHERE id='.$cur_user['id'])
+ $db->query('UPDATE '.$db->prefix.'users SET password=\''.$form_password_hash.'\' WHERE id='.$cur_user['id'])
or error('Unable to update user password', __FILE__, __LINE__, $db->error());
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list