[geeklog-cvs] geeklog: Fixed user passwords getting lost when saved from User ...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Tue Sep 6 11:28:05 EDT 2011
changeset 8400:e3c0f17985c9
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/e3c0f17985c9
user: Tom <websitemaster at cogeco.net>
date: Tue Sep 06 11:22:25 2011 -0400
description:
Fixed user passwords getting lost when saved from User Admin form (bug #0001385)
diffstat:
public_html/admin/user.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 1ef7d0627d39 -r e3c0f17985c9 public_html/admin/user.php
--- a/public_html/admin/user.php Sun Sep 04 20:39:51 2011 +0200
+++ b/public_html/admin/user.php Tue Sep 06 11:22:25 2011 -0400
@@ -574,7 +574,7 @@
if (empty ($uid) || !empty ($passwd)) {
$passwd = SEC_encryptPassword($passwd);
} else {
- if (! empty($service)) {
+ if (empty($service)) {
$passwd = DB_getItem($_TABLES['users'], 'passwd', "uid = $uid");
}
}
More information about the geeklog-cvs
mailing list