diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-08-25 13:20:46 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-08-25 13:20:46 +0200 |
commit | c58cb8aa951e38357f56899a682022f93f47d71f (patch) | |
tree | 362251775e5b17cf2b7f279a63ffda0ac0289bbd | |
parent | 2e5f64c9e42c4a0cf8a2541971e178a2a48e36ae (diff) |
Strip spell checker error message for logging; remove unused sprintf()
-rw-r--r-- | program/steps/utils/spell.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/utils/spell.inc b/program/steps/utils/spell.inc index 38e4ca285..1c68e8328 100644 --- a/program/steps/utils/spell.inc +++ b/program/steps/utils/spell.inc @@ -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); } |