[dev] method render() in class MP_MIME_Viewer_multipart broken in HEAD

Chuck Hagenbuch chuck at horde.org
Wed Sep 20 18:30:57 PDT 2006


Quoting "Carl E. Thompson" <lists-horde at carlthompson.net>:

> In HEAD the method render() in class MP_MIME_Viewer_multipart is
>
>     function render($params)
>     {
>         $contents = &$params[0];
>
>         foreach ($this->mime_part->getParts() as $part) {
>             $contents->buildMessagePart($part);
>         }
>     }
>
> but should be
>
>     function render($params)
>     {
>         $contents = &$params[0];
>
>         $parts = $this->mime_part->getParts();
>         foreach ($parts as $part) {
>             $contents->buildMessagePart($part);
>         }
>     }

Committed, thanks.

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the dev mailing list