diff --git a/Rocksolid_Light/rocksolid/lib/thread.inc.php b/Rocksolid_Light/rocksolid/lib/thread.inc.php index af38144..68906d3 100644 --- a/Rocksolid_Light/rocksolid/lib/thread.inc.php +++ b/Rocksolid_Light/rocksolid/lib/thread.inc.php @@ -906,7 +906,8 @@ function thread_show_recursive(&$headers,&$liste,$depth,$tree,$group,$article_fi // read the first article $c=$headers[$liste[$i]]; // Avoid listing if error (fixme) - if (preg_match('/\D/', $c->number)) { +// if (preg_match('/\D/', $c->number)) { + if(!is_numeric($c->number) || !isset($c->id) || $c->date < 1) { continue; } $article_count++;