alecpl
2010-12-20 8127289ba842c18b3d31125e6cd87470bceb2d29
- Revert wrong optimization in r4354



1 files modified
2 ■■■ changed files
program/steps/mail/func.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/func.inc
@@ -735,7 +735,7 @@
  // find/mark quoted lines...
  for ($n=0, $cnt=count($a_lines); $n < $cnt; $n++) {
    if ($a_lines[$n][0] == '>' && preg_match('/^(>+\s*)+/', $a_lines[$n], $regs)) {
      $q = strlen(rtrim($regs[0]));
      $q = strlen(preg_replace('/\s/', '', $regs[0]));
      $a_lines[$n] = substr($a_lines[$n], strlen($regs[0]));
      if ($q > $quote_level)