X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=ND%2FWeb%2FPages%2FForum.pm;fp=ND%2FWeb%2FPages%2FForum.pm;h=06b3dfd5738e8a0b6d3b5e085b3f8bb60d034870;hb=00e24fa419b422c8a8015a4b5249893de2877f62;hp=81943a9707d7b2e2e47c06384b3591a162810fda;hpb=7dcdd7e02acf397d9cae7f9c435ace1f7b837d67;p=ndwebbie.git diff --git a/ND/Web/Pages/Forum.pm b/ND/Web/Pages/Forum.pm index 81943a9..06b3dfd 100644 --- a/ND/Web/Pages/Forum.pm +++ b/ND/Web/Pages/Forum.pm @@ -164,6 +164,7 @@ sub render_body { $boards->execute($category->{id},$ND::UID) or $ND::ERROR .= p($DBH->errstr); my @boards; while (my $board = $boards->fetchrow_hashref){ + next if $board->{id} < 0; $threads->execute($board->{id},$ND::UID,1) or $ND::ERROR .= p($DBH->errstr); my $i = 0; my @threads;