Project

General

Profile

Bug #18811 ยป 0008454.patch

Administrator Admin, 2008-05-19 10:59

View differences:

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');
    (1-1/1)