summaryrefslogtreecommitdiff
path: root/lib/VNWeb/Discussions/UPosts.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNWeb/Discussions/UPosts.pm')
-rw-r--r--lib/VNWeb/Discussions/UPosts.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Discussions/UPosts.pm b/lib/VNWeb/Discussions/UPosts.pm
index ead0ac7f..45be3f0b 100644
--- a/lib/VNWeb/Discussions/UPosts.pm
+++ b/lib/VNWeb/Discussions/UPosts.pm
@@ -38,7 +38,7 @@ TUWF::get qr{/$RE{uid}/posts}, sub {
my $u = tuwf->dbRowi('SELECT id, ', sql_user(), 'FROM users u WHERE id =', \tuwf->capture('id'));
return tuwf->resNotFound if !$u->{id};
- my $page = eval { tuwf->validate(get => p => { upage => 1 })->data } || 1;
+ my $page = tuwf->validate(get => p => { upage => 1 })->data;
my $from_and_where = sql
'FROM threads_posts tp