Aleksander Machniak
2012-11-25 c516e3a701b73c67501d94902ecff40970a008db
Fix redundant colon after last address in print mode
1 files modified
8 ■■■■■ changed files
program/steps/mail/func.inc 8 ●●●●● patch | view | raw | blame | history
program/steps/mail/func.inc
@@ -1050,10 +1050,10 @@
    '4' => 'low',
    '5' => 'lowest',
  );
  if ($value && $labels_map[$value])
    return rcube_label($labels_map[$value]);
  return '';
}
@@ -1392,7 +1392,9 @@
    $mailto = rcube_idn_to_utf8($mailto);
    if ($PRINT_MODE) {
      $out .= sprintf('%s <%s>', Q($name), $mailto);
      $out .= ($out ? ', ' : '') . sprintf('%s <%s>', Q($name), $mailto);
      // for printing we display all addresses
      continue;
    }
    else if (check_email($part['mailto'], false)) {
      if ($linked) {