6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/10/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2794] multipart viewer against documentation
*
Your Email Address
*
Spam protection
Enter the letters below:
.__. __ .___.. .. [__]/ ` _/ |\/|| | |\__../__.| ||___
Comment
> this is the code in the imp/lib/MIME/Viewer/multipart.php: > > > > /** > > * 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
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers