From cf17773654e1e3f2b09a8aee1058bda4ada3bed1 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 12 Sep 2008 10:01:52 -0400
Subject: [PATCH] Fix rcmail::url(), don't use comm_path
---
program/include/rcube_message.php | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php
index 329c390..c18db4b 100644
--- a/program/include/rcube_message.php
+++ b/program/include/rcube_message.php
@@ -230,6 +230,11 @@
$structure->type = 'content';
$this->parts[] = &$structure;
}
+ // the same for pgp signed messages
+ else if ($message_ctype_primary == 'application' && $message_ctype_secondary == 'pgp' && !$recursive) {
+ $structure->type = 'content';
+ $this->parts[] = &$structure;
+ }
// message contains alternative parts
else if ($message_ctype_primary == 'multipart' && ($message_ctype_secondary == 'alternative') && is_array($structure->parts)) {
// get html/plaintext parts
--
Gitblit v1.9.1