newgroups bugfix
authorx99bachelart <x99bachelart>
Fri, 12 Sep 2003 16:13:28 +0000 (16:13 +0000)
committerx99bachelart <x99bachelart>
Fri, 12 Sep 2003 16:13:28 +0000 (16:13 +0000)
include/NetNNTP.inc.php

index 915f22e..0b82fb0 100644 (file)
@@ -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();