From 4491aea0656fd2cd87349929ea7ca3523db9e363 Mon Sep 17 00:00:00 2001 From: x99bachelart Date: Wed, 3 Sep 2003 17:16:23 +0000 Subject: [PATCH] typo --- include/post.inc.php | 2 +- include/wrapper.inc.php | 2 +- install.d/format.inc.php | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/post.inc.php b/include/post.inc.php index 769b166..9c5ba65 100644 --- a/include/post.inc.php +++ b/include/post.inc.php @@ -26,7 +26,7 @@ class Post { $this = false; return false; } - $this->body = join("\n",$nntp->body($_id)); + $this->body = join("\n",$_nntp->body($_id)); if ((isset($this->headers->contentencoding)) && (preg_match("/base64/",$this->headers->contentencoding))) { $this->body = base64_decode($this->body); diff --git a/include/wrapper.inc.php b/include/wrapper.inc.php index 502e116..029c21d 100644 --- a/include/wrapper.inc.php +++ b/include/wrapper.inc.php @@ -122,7 +122,7 @@ function dowrap($_mixed,$_maxls=72,$_maxld=72,$_prefix="") { // adds prefix $lines = split("\n",$preresult); foreach ($lines as $l) { - $result .= $prefix.(strlen($_prefix)>0?" ":"")."$l\n"; + $result .= $_prefix.(strlen($_prefix)>0?" ":"")."$l\n"; } // $result = substr($result,0,-1); } diff --git a/install.d/format.inc.php b/install.d/format.inc.php index 46e2ae1..9fb20f3 100644 --- a/install.d/format.inc.php +++ b/install.d/format.inc.php @@ -72,7 +72,7 @@ function formatDisplayHeader($_header,$_text,$_spool) { case "newsgroups": $res = ""; $groups = preg_split("/(\t| )*,(\t| )*/",$_text); - foreach ($_groups as $g) { + foreach ($groups as $g) { $res.=''.$g.', '; } return substr($res,0, -2); @@ -99,8 +99,8 @@ function formatDisplayHeader($_header,$_text,$_spool) { $rsl = ""; $ndx = 1; $text=str_replace("><","> <",$_text); - $text=preg_split("/( |\t)/",strtr($_text,$_spool->ids)); - $parents=preg_grep("/^\d+$/",$_text); + $text=preg_split("/( |\t)/",strtr($text,$_spool->ids)); + $parents=preg_grep("/^\d+$/",$text); $p=array_pop($parents); while ($p) { $rsl .= "group}" -- 2.1.4