$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;
,undef,$board->{fcid}) or $ND::ERROR .= p($DBH->errstr);
$BODY->param(Category => $category);
+ }elsif($self->{URI} =~ m{^/.*/search/(.*)}){ #List threads in this board
}else{ #List boards
$BODY->param(Overview => 1);
$categories->execute or $ND::ERROR .= p($DBH->errstr);