Project

General

Profile

Bug #18945 » 8697a-mysql40.patch

Administrator Admin, 2008-06-13 09:59

View differences:

t3lib/class.t3lib_db.php (working copy)
$output = array();
$columns_res = mysql_query('SHOW CHARACTER SET', $this->link);
while ($row = mysql_fetch_assoc($columns_res)) {
$output[$row['Charset']] = $row;
if ($columns_res) {
while ($row = mysql_fetch_assoc($columns_res)) {
$output[$row['Charset']] = $row;
}
}
return $output;
(2-2/2)