diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lib/VNDB/DB/ULists.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ 2.17 - ? - Fixed perl warning on /u+/votes batchedit with nothing selected + - Don't update the 'date' when changing a VN vote - Bugfix: Correctly randomize screenshots on homepage with filters - Bugfix: Don't show NSFW screenshots on homepage with filters - Bugfix-API: Use ~ for the get vn search filter instead of = diff --git a/lib/VNDB/DB/ULists.pm b/lib/VNDB/DB/ULists.pm index a47e848e..e1c22594 100644 --- a/lib/VNDB/DB/ULists.pm +++ b/lib/VNDB/DB/ULists.pm @@ -260,7 +260,7 @@ sub dbVoteAdd { my($self, $vid, $uid, $vote) = @_; $self->dbExec(q| UPDATE votes - SET vote = ?, date = NOW() + SET vote = ? WHERE vid IN(!l) AND uid = ?|, $vote, ref($vid) ? $vid : [$vid], $uid |