Issue Bug Closed

#16722Personal dicts: User TSconfig "options.enablePersonalDicts" always TRUE -- FIX inside

Christian Trabold 11/17/06, 16:53 updated 06/27/08, 10:53

Description

Personal dicts are always active, if this feature has been activated via Page-TSconfig (RTE.default.enablePersonalDicts = 1) even if it has been disabled by UserTSconfig:

options.enablePersonalDicts = 0

A change from “isset” to “intval” in file “class.tx_rtehtmlarea_base.php” fixes this issue:

$this->spellCheckerPersonalDicts = $this->thisConfig[‘enablePersonalDicts’] ? (isset($BE_USER->userTS[‘options.’][‘enablePersonalDicts’]) ? true : false) : false;

=>

$this->spellCheckerPersonalDicts = $this->thisConfig[‘enablePersonalDicts’] ? (intval($BE_USER->userTS[‘options.’][‘enablePersonalDicts’]) ? true : false) : false;

(issue imported from #M4525)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.