Project

General

Profile

Feature #19054 ยป bug_0008890.diff

Administrator Admin, 2008-07-03 11:11

View differences:

/data/projekte/typo3_src/typo3_svn/t3lib/class.t3lib_tceforms_new.php 2008-07-03 11:01:56.518270173 +0200
function getSingleField_SW($table,$field,$row,&$PA) {
$PA['fieldConf']['config']['form_type'] = $PA['fieldConf']['config']['form_type'] ? $PA['fieldConf']['config']['form_type'] : $PA['fieldConf']['config']['type']; // Using "form_type" locally in this script
// Hook: getSingleField_beforeRender
foreach ($this->hookObjectsSingleField as $hookObj) {
if (method_exists($hookObj,'getSingleField_beforeRender')) {
$hookObj->getSingleField_beforeRender($table,$field,$row,&$PA);
}
}
switch($PA['fieldConf']['config']['form_type']) {
case 'input':
$item = $this->getSingleField_typeInput($table,$field,$row,$PA);
    (1-1/1)