projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1568183
)
Catch Horde_Exception, not Exception.
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 22 Jun 2009 04:08:58 +0000
(22:08 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 22 Jun 2009 04:08:58 +0000
(22:08 -0600)
imp/lib/Imple/SpellChecker.php
patch
|
blob
|
history
diff --git
a/imp/lib/Imple/SpellChecker.php
b/imp/lib/Imple/SpellChecker.php
index
52e08a8
..
384fcc7
100644
(file)
--- a/
imp/lib/Imple/SpellChecker.php
+++ b/
imp/lib/Imple/SpellChecker.php
@@
-89,14
+89,14
@@
class IMP_Imple_SpellChecker extends IMP_Imple
try {
$speller = Horde_SpellChecker::getInstance($GLOBALS['conf']['spell']['driver'], $spellArgs);
- } catch (Exception $e) {
+ } catch (
Horde_
Exception $e) {
Horde::logMessage($e, __FILE__, __LINE__, PEAR_LOG_ERR);
return array();
}
try {
return $speller->spellCheck(Horde_Util::getPost($args['input']));
- } catch (Exception $e) {
+ } catch (
Horde_
Exception $e) {
Horde::logMessage($e, __FILE__, __LINE__, PEAR_LOG_ERR);
return array('bad' => array(), 'suggestions' => array());
}