[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>
Tue, 22 Nov 2011 07:51:44 +0000 (08:51 +0100)
commit8803e680d2144b6629e0ec075e6785a1da8d1147
treeaf6b26fa98632e15280b0af6848de26659153ea5
parenta125e9bdbff85496928471b009d0eb3bca68495b
[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: I5fa6f385a3efa11db9aae82399102e67a96ec700
Resolves: #31374
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/6370
Reviewed-by: Michael Stucki
Tested-by: Michael Stucki
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Francois Suter
Tested-by: Francois Suter
t3lib/class.t3lib_befunc.php