[BUGFIX] Test ifBlank with strlen again 20/56320/2
authorStefan Froemken <froemken@gmail.com>
Sat, 17 Mar 2018 13:58:28 +0000 (14:58 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 17 Mar 2018 16:52:31 +0000 (17:52 +0100)
commitc12fe3c17c3d339e9c84e8867ac9f6433e4953ca
treececd4392fff63ac622e117401608d3c2db653458
parent99e81190f30d52e27926c116e949ada9d841cbbb
[BUGFIX] Test ifBlank with strlen again

Since TYPO3 7 ifBlank works with trim instead of strlen.
Like documented ifBlank has to work with strlen.
So 2 spaces should not be interpreted as a blank value.

Resolves: #84434
Related: #54091
Releases: master, 8.7
Change-Id: I6a130852225b23f30af40e8a9311d2288dfb31b6
Reviewed-on: https://review.typo3.org/56320
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php