Project

General

Profile

Actions

Bug #16722

closed

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

Added by Christian Trabold about 18 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-11-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

class.tx_rtehtmlarea_base.php.diff (705 Bytes) class.tx_rtehtmlarea_base.php.diff Administrator Admin, 2006-11-17 16:53
rtehtmlarea_bugfix_4525.patch (824 Bytes) rtehtmlarea_bugfix_4525.patch Administrator Admin, 2007-10-16 22:15
Actions

Also available in: Atom PDF