- last commit fix

release-0.6
alecpl 17 years ago
parent 1088d66745
commit 90cd452bc0

@ -1291,7 +1291,7 @@ function rcmail_address_string($input, $max=NULL, $addicon=NULL)
{ {
$j++; $j++;
if ($PRINT_MODE) if ($PRINT_MODE)
$out .= sprintf('%s <%s>', Q(rcube_charset_convert($part['name'])), $part['mailto']); $out .= sprintf('%s <%s>', Q($part['name']), $part['mailto']);
else if (preg_match($EMAIL_ADDRESS_PATTERN, $part['mailto'])) else if (preg_match($EMAIL_ADDRESS_PATTERN, $part['mailto']))
{ {
$out .= sprintf('<a href="mailto:%s" onclick="return %s.command(\'compose\',\'%s\',this)" class="rcmContactAddress" title="%s">%s</a>', $out .= sprintf('<a href="mailto:%s" onclick="return %s.command(\'compose\',\'%s\',this)" class="rcmContactAddress" title="%s">%s</a>',

Loading…
Cancel
Save