projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix in case we couldn;t retrieve the message from the session
[squirrelmail.git]
/
src
/
download.php
diff --git
a/src/download.php
b/src/download.php
index e630d95b0928c615d4991c6bcd237afb884c9d1c..7778bb7385124e622523222db5b4e9b582c0860d 100644
(file)
--- a/
src/download.php
+++ b/
src/download.php
@@
-43,6
+43,9
@@
if (!isset($passed_ent_id)) {
}
$message = &$messages[$mbx_response['UIDVALIDITY']]["$passed_id"];
}
$message = &$messages[$mbx_response['UIDVALIDITY']]["$passed_id"];
+if (!is_object($message)) {
+ $message = sqimap_get_message($imapConnection,$passed_id, $mailbox);
+}
$subject = $message->rfc822_header->subject;
$message = &$message->getEntity($ent_id);
$header = $message->header;
$subject = $message->rfc822_header->subject;
$message = &$message->getEntity($ent_id);
$header = $message->header;