summaryrefslogtreecommitdiff
path: root/lib/VNWeb/Discussions/Thread.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNWeb/Discussions/Thread.pm')
-rw-r--r--lib/VNWeb/Discussions/Thread.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNWeb/Discussions/Thread.pm b/lib/VNWeb/Discussions/Thread.pm
index c81e02a9..a5e003af 100644
--- a/lib/VNWeb/Discussions/Thread.pm
+++ b/lib/VNWeb/Discussions/Thread.pm
@@ -181,7 +181,7 @@ TUWF::get qr{/$RE{postid}}, sub {
};
-json_api qr{/t/pollvote.json}, $POLL_IN, sub {
+json_api qr{/t/pollvote\.json}, $POLL_IN, sub {
my($data) = @_;
return elm_Unauth if !auth;
@@ -197,7 +197,7 @@ json_api qr{/t/pollvote.json}, $POLL_IN, sub {
};
-json_api qr{/t/reply.json}, $REPLY_IN, sub {
+json_api qr{/t/reply\.json}, $REPLY_IN, sub {
my($data) = @_;
my $t = tuwf->dbRowi('SELECT id, locked, count FROM threads t WHERE id =', \$data->{tid}, 'AND', sql_visible_threads());
return tuwf->resNotFound if !$t->{id};