[BUGFIX] Fix wrong condition in method checkValueForText
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / DataHandling / DataHandler.php
index e020bfb..d67b74a 100644 (file)
@@ -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);