Project

General

Profile

Bug #17224 ยป class.ux_t3lib_db.php.patch

Administrator Admin, 2007-04-28 14:32

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/1)