Bug #18811 ยป 0008454.patch

Administrator Admin, 2008-05-19 10:59

View differences:

t3lib/class.t3lib_befunc.php (Arbeitskopie)
866 866
		$localizationMode = false;
867 867
		if (is_array($fieldOrConfig) && count($fieldOrConfig)) {
868 868
			$config = $fieldOrConfig;
869
		} elseif (is_string($fieldOrConfig) && isset($GLOBALS['TCA'][$table]['columns'][$field]['config'])) {
870
			$config = $GLOBALS['TCA'][$table]['columns'][$field]['config'];
869
		} elseif (is_string($fieldOrConfig) && isset($GLOBALS['TCA'][$table]['columns'][$fieldOrConfig]['config'])) {
870
			$config = $GLOBALS['TCA'][$table]['columns'][$fieldOrConfig]['config'];
871 871
		}
872 872
		if (is_array($config) && isset($config['type']) && $config['type']=='inline' && self::isTableLocalizable($table)) {
873 873
			$localizationMode = (isset($config['behaviour']['localizationMode']) && $config['behaviour']['localizationMode'] ? $config['behaviour']['localizationMode'] : 'select');
    (1-1/1)