[BUGFIX] Multiple values not displayed for simple items lists
authorFrancois Suter <francois@typo3.org>
Fri, 28 Oct 2011 12:09:00 +0000 (14:09 +0200)
committerFrancois Suter <francois@typo3.org>
Fri, 16 Dec 2011 13:12:33 +0000 (14:12 +0100)
commit7071979c60ea1ac5e32702a2e0a74b28da171ea2
tree8bd88697a6555683e4b7992994e909fbd6fd7088
parentf8eb14270036bcffd148748a9b1c531ccf27ab30
[BUGFIX] Multiple values not displayed for simple items lists

t3lib_BEfunc::getProcessedValue() is used throughout the Core to
transform values stored as indices into human-readable values.

However for select-type fields based on a list of items
(and not a foreign table) where multiple selections are possible,
t3lib_BEfunc::getProcessedValue() fails to display anything.
This is due to t3lib_BEfunc::getLabelFromItemlist(),
being unable to handle several values.

This patch introduces a new method to avoid breaking compatibility.

Change-Id: I074099cd5fc06a346a86246bdf7620ebdc7b18cb
Resolves: #31374
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/6379
Reviewed-by: Björn Pedersen
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Francois Suter
Tested-by: Francois Suter
t3lib/class.t3lib_befunc.php