[Tickets #7707] Only messages with From, To, Cc AND Bcc headers will load
bugs at horde.org
bugs at horde.org
Wed Nov 19 14:40:16 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/7707
------------------------------------------------------------------------------
Ticket | 7707
Created By | jouva at moufette.com
Summary | Only messages with From, To, Cc AND Bcc headers will
| load
Queue | MIMP
Version | HEAD
Type | Bug
State | Unconfirmed
Priority | 3. High
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
jouva at moufette.com (2008-11-19 09:40) wrote:
I've been getting blank pages upon trying to load messages. I did some
debugging and found the culprit. Line 155-160 of message.php
/* Build From/To/Cc/Bcc links. */
foreach (array('from', 'to', 'cc', 'bcc') as $val) {
$addrlist = $ob->addrlist[$val];
if (empty($addrlist) || !is_array($addrlist)) {
return;
}
}
This is mostly a linear file and the foreach is not in a function. So
return ends the processing of the page! It SHOULD be a break; I
changed it to this and it works just fine.
More information about the bugs
mailing list