Project

General

Profile

Bug #22457 ยป bug_14113_v1.diff

Administrator Admin, 2010-04-14 22:39

View differences:

t3lib/class.t3lib_tceforms_inline.php (Arbeitskopie)
$language = intval($row[$GLOBALS['TCA'][$table]['ctrl']['languageField']]);
}
$minitems = t3lib_div::intInRange($config['minitems'],0);
$maxitems = t3lib_div::intInRange($config['maxitems'],0);
if (!$maxitems) $maxitems=100000;
if (!isset($config['maxitems'])) {
$maxitems = 1;
} else {
$maxitems = t3lib_div::intInRange($config['maxitems'],0);
if (!$maxitems) $maxitems=100000;
}
// Register the required number of elements:
$this->fObj->requiredElements[$PA['itemFormElName']] = array($minitems,$maxitems,'imgName'=>$table.'_'.$row['uid'].'_'.$field);
    (1-1/1)