Summary | Only messages with From, To, Cc AND Bcc headers will load |
Queue | MIMP |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | jan (at) horde (dot) org |
Requester | jouva (at) moufette (dot) com |
Created | 11/19/2008 (6070 days ago) |
Due | |
Updated | 11/19/2008 (6070 days ago) |
Assigned | |
Resolved | 11/19/2008 (6070 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Assigned to Jan Schneider
State ⇒ Resolved
http://cvs.horde.org/diff.php/mimp/message.php?r1=1.94&r2=1.95&ty=u
Priority ⇒ 3. High
Patch ⇒ No
Milestone ⇒
Queue ⇒ MIMP
Summary ⇒ Only messages with From, To, Cc AND Bcc headers will load
Type ⇒ Bug
State ⇒ Unconfirmed
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.