Bug #18811 ยป 0008454.patch
t3lib/class.t3lib_befunc.php (Arbeitskopie) | ||
---|---|---|
$localizationMode = false;
|
||
if (is_array($fieldOrConfig) && count($fieldOrConfig)) {
|
||
$config = $fieldOrConfig;
|
||
} elseif (is_string($fieldOrConfig) && isset($GLOBALS['TCA'][$table]['columns'][$field]['config'])) {
|
||
$config = $GLOBALS['TCA'][$table]['columns'][$field]['config'];
|
||
} elseif (is_string($fieldOrConfig) && isset($GLOBALS['TCA'][$table]['columns'][$fieldOrConfig]['config'])) {
|
||
$config = $GLOBALS['TCA'][$table]['columns'][$fieldOrConfig]['config'];
|
||
}
|
||
if (is_array($config) && isset($config['type']) && $config['type']=='inline' && self::isTableLocalizable($table)) {
|
||
$localizationMode = (isset($config['behaviour']['localizationMode']) && $config['behaviour']['localizationMode'] ? $config['behaviour']['localizationMode'] : 'select');
|