#503: signature encoding in replies
authorx2003bruneau <x2003bruneau@9869982d-c50d-0410-be91-f2a2ec7c7c7b>
Sat, 14 Oct 2006 19:03:57 +0000 (19:03 +0000)
committerx2003bruneau <x2003bruneau@9869982d-c50d-0410-be91-f2a2ec7c7c7b>
Sat, 14 Oct 2006 19:03:57 +0000 (19:03 +0000)
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@143 9869982d-c50d-0410-be91-f2a2ec7c7c7b

banana/banana.inc.php.in

index 3326d16..86df250 100644 (file)
@@ -350,8 +350,8 @@ class Banana
             if ($this->_newPost($id)) {
                 $subject  = 'Re: ' . preg_replace("/^re\s*:\s*/i", '', $this->post->headers['subject']);
                 $body     = to_entities(utf8_encode($this->post->name." "._b_("a écrit"))." :\n"
-                                        . wrap($this->post->get_body(), "> ")
-                          . ($this->profile['sig'] ? "\n\n-- \n". $this->profile['sig'] : ''));
+                                        . wrap($this->post->get_body(), "> "))
+                          . ($this->profile['sig'] ? "\n\n-- \n". $this->profile['sig'] : '');
                 $target   = isset($this->post->headers['followup-to']) ?
                                 $this->post->headers['followup-to'] : $this->post->headers['newsgroups'];
                 $followup = null;