diff options
author | Yorhel <git@yorhel.nl> | 2011-02-16 16:14:30 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-02-16 16:14:30 +0100 |
commit | cd7b3f34173dfeceec03691957c95f4d4ab9cf47 (patch) | |
tree | 819817f5e60ef4c8af7b98aba8264b0954970e8b /lib/VNDB/Util | |
parent | 24680d31a5a3433db5fd0140d9cb80b371659342 (diff) |
chardb: Added character add/edit form + misc. fixes
Diffstat (limited to 'lib/VNDB/Util')
-rw-r--r-- | lib/VNDB/Util/CommonHTML.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Util/CommonHTML.pm b/lib/VNDB/Util/CommonHTML.pm index 0d794913..22e8f13d 100644 --- a/lib/VNDB/Util/CommonHTML.pm +++ b/lib/VNDB/Util/CommonHTML.pm @@ -286,7 +286,7 @@ sub htmlEditMessage { ul; li; lit mt '_editmsg_msg_guidelines', "/d$guidelines"; end; if($obj) { - li; lit mt '_editmsg_msg_discuss', $type eq 'r' ? "/t/v$obj->{vn}[0]{vid}" : "/t/$type$obj->{id}"; end; + li; lit mt '_editmsg_msg_discuss', $type eq 'c' ? '/t/db' : $type eq 'r' ? "/t/v$obj->{vn}[0]{vid}" : "/t/$type$obj->{id}"; end; li; lit mt '_editmsg_msg_history', "/$type$obj->{id}/hist"; end; } elsif($type ne 'r') { li; lit mt '_editmsg_msg_search', "/$type/all", $num; end; |