6.0.0-alpha14
7/3/25

[#7707] Only messages with From, To, Cc AND Bcc headers will load
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

History
11/19/2008 06:17:47 PM Jan Schneider Comment #3
Assigned to Jan Schneider
State ⇒ Resolved
Reply to this comment
Fixed.
11/19/2008 06:17:15 PM CVS Commit Comment #2 Reply to this comment
Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/mimp/message.php?r1=1.94&r2=1.95&ty=u
11/19/2008 02:40:16 PM jouva (at) moufette (dot) com Comment #1
Priority ⇒ 3. High
Patch ⇒ No
Milestone ⇒
Queue ⇒ MIMP
Summary ⇒ Only messages with From, To, Cc AND Bcc headers will load
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
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.

Saved Queries