[BUGFIX] TS: Allow "0" as strPad.padWith 36/23536/7
authorLars Peipmann <lars@peipmann.de>
Mon, 2 Sep 2013 13:26:11 +0000 (15:26 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 24 Nov 2013 20:31:22 +0000 (21:31 +0100)
commit7b05d076fb40a04d942e55b838b948b9fc4a3508
treea820f448097d2f7bd341d00c24ddc2d4bd25da88
parent28b7bb5d16c6d06f9078beba14aeb37ae62255b5
[BUGFIX] TS: Allow "0" as strPad.padWith

Replaces the test with empty() by isset() and
strlen() > 0. So other strings which are
handled by PHP as empty can be used for padding.

Resolves: #51650
Releases: 6.2, 6.1
Change-Id: Iee62f19f97b958ab2d02c6ca73052810a3c91117
Reviewed-on: https://review.typo3.org/23536
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php