Review TYPO3_6-1 Merged 25669[BUGFIX] TS: Allow "0" as strPad.padWith Stefan Neufeind CR +2 V +2 Easy +10 −1 updated 11/24/13, 20:39 Open in Gerrit Commit message Show more 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/25669 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Review Code review CR +2 Stefan Neufeind +2 Verified V +2 Stefan Neufeind +2 Issues 1 Bug #51650String paddings with 0 are not possible in strPad Resolved by this change Closed TypoScript v6.1 Lars Malach 09/02/13, 15:24 Files 2 typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php+1 −1 typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php+9 −0 Review log 2 Stefan Neufeind commented on patch set 1 V +2 CR +2 11/24/13, 20:39 hand-cherrypicked, retested on 6.1 Stefan Neufeind merged patch set 2 11/24/13, 20:39