Project

General

Profile

Actions

Bug #31347

closed

Empty label in Frontend

Added by Xavier Perseguers about 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2011-10-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Empty options (no label) when showing registration form of seminar.

After digging into the code, seminar sends prices to ameos_formidable to generate the select options in api/base/rdt_listbox/api/class.tx_rdtlistbox.php:

$sCaption = $this->oForm->_getLLLabel(
    $aItem["caption"]
);

The "problem" is that seminar is giving aemos_formidable the actual caption to be displayed instead of a localization key and the returned string is empty!

I bug fixed it with:

if (!$sCaption) $sCaption = $aItem['caption'];

However, is this a breaking change that we introduced in 4.6 by accident?

Actions

Also available in: Atom PDF