*** empty log message ***
authorKasper Skårhøj <kasper@typo3.org>
Mon, 26 Apr 2004 14:46:41 +0000 (14:46 +0000)
committerKasper Skårhøj <kasper@typo3.org>
Mon, 26 Apr 2004 14:46:41 +0000 (14:46 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@237 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_tceforms.php

index 4b909e8..ba7b0b6 100755 (executable)
@@ -1180,11 +1180,13 @@ class t3lib_TCEforms    {
                                // Perform modification of the selected items array:
                        $itemArray = t3lib_div::trimExplode(',',$PA['itemFormElValue'],1);
                        foreach($itemArray as $tk => $tv) {
-                               $tvP=explode('|',$tv,2);
+                               $tvP = explode('|',$tv,2);
                                if (in_array($tvP[0],$removeItems) && !$PA['fieldTSConfig']['disableNoMatchingValueElement'])   {
-                                       $tvP[1]=rawurlencode($nMV_label);
+                                       $tvP[1] = rawurlencode($nMV_label);
                                } elseif (isset($PA['fieldTSConfig']['altLabels.'][$tvP[0]])) {
-                                       $tvP[1]=rawurlencode($this->sL($PA['fieldTSConfig']['altLabels.'][$tvP[0]]));
+                                       $tvP[1] = rawurlencode($this->sL($PA['fieldTSConfig']['altLabels.'][$tvP[0]]));
+                               } else {
+                                       $tvP[1] = rawurlencode($this->sL(rawurldecode($tvP[1])));
                                }
                                $itemArray[$tk]=implode('|',$tvP);
                        }