fix wrt Re:
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Wed, 19 Oct 2005 17:09:24 +0000 (17:09 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 4 Jan 2008 23:34:28 +0000 (00:34 +0100)
git-archimport-id: opensource@polytechnique.org--2005/banana--mainline--1.0--patch-28

banana/banana.inc.php.in

index 8cd704f..b188c52 100644 (file)
@@ -218,7 +218,7 @@ class Banana
             $this->nntp->group($group);
             $this->_newPost($id);
             if ($this->post) {
-                $subject = preg_replace("/^re\s*:\s*/i", 'Re: ', $this->post->headers['subject']);
+                $subject = preg_replace("/^re\s*:\s*/i", 'Re: ', 'Re: '.$this->post->headers['subject']);
                 $body    = utf8_encode($this->post->name." "._b_("a écrit"))." :\n".wrap($this->post->body, "> ");
                 $target  = isset($this->post->headers['followup-to']) ? $this->post->headers['followup-to'] : $this->post->headers['newsgroups'];
             }