diff options
author | Yorhel <git@yorhel.nl> | 2019-10-11 10:15:21 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-10-11 10:15:21 +0200 |
commit | d4143f6b95554ff4e768b1bfefac68f890912fd2 (patch) | |
tree | e8c40ee2891281e64bb2c1093587e04c96957ce5 /lib/VNDB/Util | |
parent | e0f0fec01dd6cb8b0cc2b2dc85ad05a6cd990488 (diff) |
Two rewards-related bug fixes
Diffstat (limited to 'lib/VNDB/Util')
-rw-r--r-- | lib/VNDB/Util/CommonHTML.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Util/CommonHTML.pm b/lib/VNDB/Util/CommonHTML.pm index 72febd63..0a09655c 100644 --- a/lib/VNDB/Util/CommonHTML.pm +++ b/lib/VNDB/Util/CommonHTML.pm @@ -207,9 +207,9 @@ sub revheader { # type, obj b "Revision $obj->{rev}"; txt ' ('; a href => "/$type$obj->{id}.$obj->{rev}/edit", 'revert to'; - if($obj->{requester} && $self->authCan('board')) { + if($obj->{user_id} && $self->authCan('board')) { lit ' / '; - a href => "/t/u$obj->{requester}/new?title=Regarding%20$type$obj->{id}.$obj->{rev}", 'msg user'; + a href => "/t/u$obj->{user_id}/new?title=Regarding%20$type$obj->{id}.$obj->{rev}", 'msg user'; } txt ')'; br; |