From 686c70ed5d965f660d42c1749aabfabf0579c8aa Mon Sep 17 00:00:00 2001 From: Dominique Kreemers <dominique.kreemers@icloud.com> Date: Mon, 30 Jan 2017 11:48:41 +0100 Subject: [PATCH] [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 <ms@schwemer.de> Tested-by: Marcus Schwemer <ms@schwemer.de> Reviewed-by: Markus Klein <markus.klein@typo3.org> Tested-by: Markus Klein <markus.klein@typo3.org> --- typo3/sysext/core/Classes/DataHandling/DataHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/core/Classes/DataHandling/DataHandler.php b/typo3/sysext/core/Classes/DataHandling/DataHandler.php index e020bfb72342..d67b74a1a99a 100644 --- a/typo3/sysext/core/Classes/DataHandling/DataHandler.php +++ b/typo3/sysext/core/Classes/DataHandling/DataHandler.php @@ -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); -- GitLab