[BUGFIX] getLabelsFromItemsList() retuns no value when no item found 66/25866/6
authorFrans Saris <franssaris@gmail.com>
Mon, 2 Dec 2013 09:43:30 +0000 (10:43 +0100)
committerAndreas Wolf <andreas.wolf@typo3.org>
Fri, 31 Jan 2014 17:37:58 +0000 (18:37 +0100)
commit3d240dda104fa96b019a4b395c76500e74a1248b
tree4e63e7d309d4753af07dc15fbd05f47a60c408f5
parent7a71192e02ac21d35866307a7876d9f0c58423b9
[BUGFIX] getLabelsFromItemsList() retuns no value when no item found

BackendUtility::getLabelsFromItemsList() does not take
itemsProcFunc into account. This means no value is
returned when there is no matching item found.

With this change the plain db value is returned
when no matching item is found.

Resolves: #54131
Releases: 6.2, 6.1
Change-Id: Ieb04394fa104627b765f6bc05d0d5886f29099c9
Reviewed-on: https://review.typo3.org/25866
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php