diff options
author | Yorhel <git@yorhel.nl> | 2009-09-24 14:07:26 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-09-24 14:09:43 +0200 |
commit | ac3b0e35977653d53cb96854986e8fca2b16ca69 (patch) | |
tree | ade184fd454f5be2b16693ebd5e38a6a6f55fc06 /lib/VNDB/DB/Users.pm | |
parent | defecb123e03d098283d53af02f2c494f90922aa (diff) | |
parent | d1e395e4197c40b7fd26f1b2dcf75a96d4b2b99e (diff) |
Merge branch 'beta'2.7
+ updated changelog
Diffstat (limited to 'lib/VNDB/DB/Users.pm')
-rw-r--r-- | lib/VNDB/DB/Users.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/DB/Users.pm b/lib/VNDB/DB/Users.pm index e1f4c378..b2cd1a31 100644 --- a/lib/VNDB/DB/Users.pm +++ b/lib/VNDB/DB/Users.pm @@ -43,7 +43,7 @@ sub dbUserGet { ); my @select = ( - qw|id username mail rank salt c_votes c_changes show_nsfw show_list skin customcss ip c_tags|, + qw|id username mail rank salt c_votes c_changes show_nsfw show_list skin customcss ip c_tags ign_votes|, q|encode(passwd, 'hex') AS passwd|, q|extract('epoch' from registered) as registered|, $o{what} =~ /stats/ ? ( '(SELECT COUNT(*) FROM rlists WHERE uid = u.id) AS releasecount', @@ -74,7 +74,7 @@ sub dbUserEdit { my %h; defined $o{$_} && ($h{$_.' = ?'} = $o{$_}) - for (qw| username mail rank show_nsfw show_list skin customcss salt |); + for (qw| username mail rank show_nsfw show_list skin customcss salt ign_votes |); $h{'passwd = decode(?, \'hex\')'} = $o{passwd} if defined $o{passwd}; |