From fd50074b4276e5148130d86e700b2e8033e4072d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 26 Jan 2020 23:31:19 +0100 Subject: [PATCH] Update doleditor.class.php --- htdocs/core/class/doleditor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/doleditor.class.php b/htdocs/core/class/doleditor.class.php index e524d174e03..f4909a02df0 100644 --- a/htdocs/core/class/doleditor.class.php +++ b/htdocs/core/class/doleditor.class.php @@ -226,7 +226,7 @@ class DolEditor }); } }, - disableNativeSpellChecker: false'; + disableNativeSpellChecker: '.(empty($conf->global->CKEDITOR_NATIVE_SPELLCHECKER)?'false':'true'); if ($this->uselocalbrowser) {