diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lib/VNDB/DB/ULists.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -7,6 +7,7 @@ - ULists::votelist: Don't give a 404 on /u+/votes when no votes found - Added tab and link for /u+/votes to user tabs & main menu - Added ability to batch-edit votes to /u+/votes + - Update the votes.date column when changing a vote - ULists::votelist: Added first character selection - Added advanced page-browsing tabs to threads diff --git a/lib/VNDB/DB/ULists.pm b/lib/VNDB/DB/ULists.pm index 7c0d2660..e6850a02 100644 --- a/lib/VNDB/DB/ULists.pm +++ b/lib/VNDB/DB/ULists.pm @@ -256,7 +256,7 @@ sub dbVoteAdd { my($self, $vid, $uid, $vote) = @_; $self->dbExec(q| UPDATE votes - SET vote = ? + SET vote = ?, date = NOW() WHERE vid IN(!l) AND uid = ?|, $vote, ref($vid) ? $vid : [$vid], $uid |