Project

General

Profile

Bug #17918 » class.ux_t3lib_db.php.patch

Administrator Admin, 2007-12-14 14:59

View differences:

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