From: x2003bruneau Date: Sat, 15 Jul 2006 14:20:33 +0000 (+0000) Subject: Oops X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=c24c62e736e973b9d994c77f9f4828b97d0a3b79;p=banana.git Oops git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@109 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- diff --git a/banana/post.inc.php b/banana/post.inc.php index 9f3dc59..b48e8b3 100644 --- a/banana/post.inc.php +++ b/banana/post.inc.php @@ -58,8 +58,10 @@ class BananaPost if ($this->_split_multipart($this->headers, $this->body)) { $this->set_body_to_part(0); - } elseif(isset($mpart_type)) { - $this->_split_multipart($mpart_type[1], $mpart_boundary[1]); + } else { + if(isset($mpart_type)) { + $this->_split_multipart($mpart_type[1], $mpart_boundary[1]); + } $this->_find_uuencode(); $this->_fix_charset(); }