program/steps/mail/spell_pspell.inc | ●●●●● patch | view | raw | blame | history |
program/steps/mail/spell_pspell.inc
@@ -39,7 +39,7 @@ $word = $w[0]; $pos = $w[1]; $len = strlen($word); if (!pspell_check($plink, $word)) { if ($plink && !pspell_check($plink, $word)) { $suggestions = pspell_suggest($plink, $word); $out .= '<c o="'.$pos.'" l="'.$len.'">'; $out .= implode("\t", $suggestions); @@ -48,6 +48,7 @@ } $out .= '</spellresult>'; header("Content-Type: text/xml"); echo $out; exit;