When appending a message, the returned data still included a ) from the
[squirrelmail.git] / src / move_messages.php
index c27c0a1561155d79db41efd265f68bdba523ddfa..51af2ce4d2efe10d4d8ac8d5d632a4cf79e2f472 100644 (file)
@@ -67,6 +67,7 @@ function attachSelectedMessages($msg, $imapConnection) {
             }
 
             array_shift($body_a);
+            array_pop($body_a);
             $body = implode('', $body_a);
             $body .= "\r\n";