From 8a1d7dee5601ecb3ec975e2a301ddc7e542c61ad Mon Sep 17 00:00:00 2001 From: x99bachelart Date: Fri, 12 Sep 2003 16:13:28 +0000 Subject: [PATCH] newgroups bugfix --- include/NetNNTP.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/NetNNTP.inc.php b/include/NetNNTP.inc.php index 915f22e..0b82fb0 100644 --- a/include/NetNNTP.inc.php +++ b/include/NetNNTP.inc.php @@ -343,8 +343,9 @@ class nntp { ." GMT $distributions\r\n"); if (substr($this->gline(),0,1)!="2") return false; $result = $this->gline(); + $array=array(); while ($result != ".") { - preg_match("/([^ ]+) (\d+) (\d+) ./",$result,$regs); + preg_match("/([^ ]+) (\d+) (\d+) (.)/",$result,$regs); $array[$regs[1]]=array(intval($regs[2]),intval($regs[3]), intval($regs[4])); $result = $this->gline(); -- 2.1.4