Bug #23705 » 15958_v1.patch

Administrator Admin, 2010-10-11 15:14

View differences:

t3lib/class.t3lib_tceforms.php (Arbeitskopie)
2656 2656
	function getSingleField_typeFlex_draw($dataStruct,$editData,$table,$field,$row,&$PA,$formPrefix='',$level=0,$idPrefix='ID',$toggleClosed=FALSE)	{
2657 2657

  
2658 2658
		$output = '';
2659
		$mayRestructureFlexforms = $GLOBALS['BE_USER']->checkLanguageAccess(0);
2659
		$mayRestructureFlexforms = TRUE;
2660
		if (isset($GLOBALS['TCA'][$table]['ctrl']['languageField'])) {
2661
			$languageField = $GLOBALS['TCA'][$table]['ctrl']['languageField'];
2662
			$mayRestructureFlexforms = $GLOBALS['BE_USER']->checkLanguageAccess($row[$languageField]);
2663
		}
2660 2664

  
2661 2665
			// Data Structure array must be ... and array of course...
2662 2666
		if (is_array($dataStruct))	{
(1-1/2)