Strip spell checker error message for logging; remove unused sprintf()

pull/106/head
Thomas Bruederli 11 years ago
parent 2e5f64c9e4
commit c58cb8aa95

@ -45,7 +45,7 @@ else {
if ($err = $spellchecker->error()) {
rcube::raise_error(array('code' => 500, 'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
'message' => sprintf("Spell check engine error: " . $err)),
'message' => "Spell check engine error: " . trim($err)),
true, false);
}

Loading…
Cancel
Save