Bug #20400 » 11047.diff
typo3/sysext/dbal/class.ux_t3lib_db.php (working copy) | ||
---|---|---|
* @return string Returns the type of the specified field index
|
||
*/
|
||
function sql_field_metatype($table,$field) {
|
||
// If $table is mapped, use the original name instead
|
||
foreach ($this->mapping as $tN => $tMapInfo) {
|
||
if (isset($tMapInfo['mapTableName']) && $tMapInfo['mapTableName'] === $table) {
|
||
$table = $tN;
|
||
}
|
||
}
|
||
return $this->cache_fieldType[$table][$field]['metaType'];
|
||
}
|
||