Project

General

Profile

Actions

Bug #28849

closed

Wrong check for "multiple" in TCEforms

Added by Björn Pedersen almost 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-08-08
Due date:
% Done:

100%

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

Description

The change http://review.typo3.org/972
[BUGFIX] group field in TCEforms does not honor size=1 attribute

changed the way the check for multiple entrys is done. The check is wrong and breaks all dam media fields.

line 5580 in class.t3lib_tceforms.php should be changed to

isMultiple = (fObj.getAttribute("multiple") == null || fObj.getAttribute("multiple") == "multiple" ) && fObj.getAttribute("size") != "1";


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #25221: "group" field in TCEforms does not honor size=1 attributeClosedDmitry Dulepov2011-03-02

Actions
Actions

Also available in: Atom PDF