Fixes deprecated features in PHP 5.3.x.
[banana.git] / banana / nntpcore.inc.php
index 3029c08..070135b 100644 (file)
@@ -469,7 +469,7 @@ class BananaNNTPCore
         $array  =& $this->fetchResult();
         $groups = array();
         foreach ($array as &$result) {
-            @list($group, $desc) = split("[ \t]", $result, 2);
+            @list($group, $desc) = preg_split("[ \t]", $result, 2);
             $groups[$group] = $desc;
         }
         return $groups;