Bug #17224 ยป class.ux_t3lib_db.php.patch
class.ux_t3lib_db.php (working copy) | ||
---|---|---|
if ($sqlPartArray[$k]['table'] && $this->mapping[$sqlPartArray[$k]['table']]['mapTableName']) {
|
||
$sqlPartArray[$k]['table'] = $this->mapping[$sqlPartArray[$k]['table']]['mapTableName'];
|
||
}
|
||
// Map fieldnames in SQL-functions like MIN(), MAX() or SUM()
|
||
if ($this->mapping[$t]['mapFieldNames'][$sqlPartArray[$k]['func_content']]) {
|
||
$sqlPartArray[$k]['func_content.'][0]['func_content'] = $this->mapping[$t]['mapFieldNames'][$sqlPartArray[$k]['func_content']];
|
||
$sqlPartArray[$k]['func_content'] = $this->mapping[$t]['mapFieldNames'][$sqlPartArray[$k]['func_content']];
|
||
}
|
||
}
|
||
}
|
||
}
|