summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/VNWeb/Reviews/VNTab.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNWeb/Reviews/VNTab.pm b/lib/VNWeb/Reviews/VNTab.pm
index e575a6fa..796193b1 100644
--- a/lib/VNWeb/Reviews/VNTab.pm
+++ b/lib/VNWeb/Reviews/VNTab.pm
@@ -19,6 +19,7 @@ sub reviews_ {
WhERE NOT r.c_flagged AND r.vid =', \$v->{id}, 'AND', ($mini ? 'NOT' : ''), 'r.isfull
ORDER BY r.c_up-r.c_down DESC'
);
+ return if !@$lst;
div_ class => 'mainbox', sub {
h1_ $mini ? 'Mini reviews' : 'Full reviews';