Commit 686c70ed authored by Dominique Kreemers's avatar Dominique Kreemers Committed by Markus Klein
Browse files

[BUGFIX] Fix wrong condition in method checkValueForText

This makes "eval" processing working again for text fields.

Resolves: #79545
Related: #79341
Releases: master
Change-Id: Icda2f32a41a95afa33c87be9ed60c5b5ed47f275
Reviewed-on: https://review.typo3.org/51465

Reviewed-by: Marcus Schwemer's avatarMarcus Schwemer <ms@schwemer.de>
Tested-by: Marcus Schwemer's avatarMarcus Schwemer <ms@schwemer.de>
Reviewed-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
parent 403a5b71
......@@ -1694,7 +1694,7 @@ class DataHandler
*/
protected function checkValueForText($value, $tcaFieldConf, $table, $id, $realPid, $field)
{
if (isset($tcaFieldConf['eval']) && !$tcaFieldConf['eval'] === '') {
if (isset($tcaFieldConf['eval']) && $tcaFieldConf['eval'] !== '') {
$cacheId = $this->getFieldEvalCacheIdentifier($tcaFieldConf['eval']);
if ($this->runtimeCache->has($cacheId)) {
$evalCodesArray = $this->runtimeCache->get($cacheId);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment