Project

General

Profile

Bug #23705 » 15958_v1.patch

Administrator Admin, 2010-10-11 15:14

View differences:

t3lib/class.t3lib_tceforms.php (Arbeitskopie)
function getSingleField_typeFlex_draw($dataStruct,$editData,$table,$field,$row,&$PA,$formPrefix='',$level=0,$idPrefix='ID',$toggleClosed=FALSE) {
$output = '';
$mayRestructureFlexforms = $GLOBALS['BE_USER']->checkLanguageAccess(0);
$mayRestructureFlexforms = TRUE;
if (isset($GLOBALS['TCA'][$table]['ctrl']['languageField'])) {
$languageField = $GLOBALS['TCA'][$table]['ctrl']['languageField'];
$mayRestructureFlexforms = $GLOBALS['BE_USER']->checkLanguageAccess($row[$languageField]);
}
// Data Structure array must be ... and array of course...
if (is_array($dataStruct)) {
(1-1/2)