From cb2bc809ef29f349d38c89e202d821e67bb4c947 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Tue, 21 Sep 2010 14:47:55 -0400 Subject: [PATCH] Fix db_mode check in insert_id() --- program/steps/utils/spell.inc | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/program/steps/utils/spell.inc b/program/steps/utils/spell.inc index dab5695..3778865 100644 --- a/program/steps/utils/spell.inc +++ b/program/steps/utils/spell.inc @@ -18,11 +18,15 @@ */ +// max. number of suggestions for one word +define('MAX_SUGGESTIONS', 10); + +$tiny = !empty($_GET['tiny']) ? 'html_' : ''; + if ($spell_engine = $RCMAIL->config->get('spellcheck_engine', 'googie')) { - include('spell_'.$spell_engine.'.inc'); + include('spell_'.$tiny.$spell_engine.'.inc'); } header('HTTP/1.1 404 Not Found'); exit; -?> -- Gitblit v1.9.1