* Fixed bug 4525: In htmlArea RTE, disabling personal dictionaries in UserTSConfig...
authorStanislas Rolland <typo3@sjbr.ca>
Tue, 16 Oct 2007 20:08:03 +0000 (20:08 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Tue, 16 Oct 2007 20:08:03 +0000 (20:08 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2578 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php

index d59ee1e..d48bb45 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,7 @@
 
        * Fixed bug 4183: Incorrect display in htmlArea RTE of utf-8 labels for colors, classes and fonts defined in PageTSConfig
        * Re-inserting accidently deleted comments in class.tx_rtehtmlarea_base.php.
+       * Fixed bug 4525: In htmlArea RTE, disabling personal dictionaries in UserTSConfig not honored
 
 2007-10-15  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
index f0d846d..aae34ba 100644 (file)
@@ -2,6 +2,7 @@
 
        * Fixed bug 4183: Incorrect display in htmlArea RTE of utf-8 labels for colors, classes and fonts defined in PageTSConfig
        * Re-inserting accidently deleted comments in class.tx_rtehtmlarea_base.php.
+       * Fixed bug 4525: In htmlArea RTE, disabling personal dictionaries in UserTSConfig not honored
 
 2007-10-15  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
index b13ac64..fdd04c0 100644 (file)
@@ -513,7 +513,7 @@ class tx_rtehtmlarea_base extends t3lib_rteapi {
                                }
                                
                                        // Set the use of personal dictionary
-                               $this->spellCheckerPersonalDicts = $this->thisConfig['enablePersonalDicts'] ? (isset($BE_USER->userTS['options.']['enablePersonalDicts']) ? true : false) : false;
+                               $this->spellCheckerPersonalDicts = $this->thisConfig['enablePersonalDicts'] ? ((isset($BE_USER->userTS['options.']['enablePersonalDicts']) && $BE_USER->userTS['options.']['enablePersonalDicts']) ? true : false) : false;
                                if (ini_get('safe_mode')) {
                                        $this->spellCheckerPersonalDicts = false;
                                }