[imp] Possible Bug in IMP H5?

Lukas Gradl horde at ssn.at
Sun Dec 2 14:03:29 UTC 2012


Hi!

I'm not very good at php, so I ask here first before opening a bug in 
bugtracker.

When composing a mail through a mailto link the message body is not 
passed to the dynamic compose window.

In imp/lib/Dynamic/Compose.php near the end there are the lines

case 'new':
case 'template_new':
default:
     $show_editor = ($prefs->getValue('compose_html') && \
                                 $session->get('imp', 'rteavail'));

     $onload = $compose_ajax->getBaseResponse();
     $onload->body = strval($this->vars->body);


Shouldn't that last line be:

$onload->body = strval($args['body']);


regards
Lukas




More information about the imp mailing list