From 0344b168276f80189e2254c75a762aff5b517b6b Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sun, 22 May 2016 06:32:57 -0400 Subject: [PATCH] Fix priority icon(s) position --- program/steps/utils/spell.inc | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/program/steps/utils/spell.inc b/program/steps/utils/spell.inc index c8807e3..bc1448e 100644 --- a/program/steps/utils/spell.inc +++ b/program/steps/utils/spell.inc @@ -1,6 +1,6 @@ <?php -/* +/** +-----------------------------------------------------------------------+ | program/steps/utils/spell.inc | | | @@ -37,6 +37,9 @@ $spellchecker->add_word($data); $result = '<?xml version="1.0" encoding="'.RCUBE_CHARSET.'"?><learnwordresult></learnwordresult>'; } +else if (empty($data)) { + $result = '<?xml version="1.0" encoding="'.RCUBE_CHARSET.'"?><spellresult charschecked="0"></spellresult>'; +} else { $spellchecker->check($data); $result = $spellchecker->get_xml(); -- Gitblit v1.9.1