Summary | multipart viewer against documentation |
Queue | IMP |
Queue Version | HEAD |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | bret (at) hotmail (dot) com |
Created | 10/17/2005 (7236 days ago) |
Due | |
Updated | 10/18/2005 (7235 days ago) |
Assigned | 10/17/2005 (7236 days ago) |
Resolved | 10/18/2005 (7235 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Not A Bug
return value if no return() statement is present, which is perfectly
valid (return() is optional - see
http://www.php.net/manual/en/functions.returning-values.php).
the multipart/mixed viewer is not supposed to return any rendered text
since it is a container class only.
State ⇒ Assigned
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ multipart viewer against documentation
Queue ⇒ IMP
/**
* Render out the currently set contents.
*
* @access public
*
* @param array $params An array with a reference to a MIME_Contents
* object.
*
* @return string The rendered text in HTML.
*/
function render($params)
{
$contents = &$params[0];
foreach ($this->mime_part->getParts() as $part) {
$contents->buildMessagePart($part);
}
}
notice the missing return statement. how could this work? I've checked
and the caller actually uses the returned value as if it was actually
a string