Index: t3lib/class.t3lib_db.php =================================================================== --- t3lib/class.t3lib_db.php (revision 3818) +++ t3lib/class.t3lib_db.php (working copy) @@ -1044,7 +1044,7 @@ $output = array(); $columns_res = mysql_query('SHOW CHARACTER SET', $this->link); - while ($row = mysql_fetch_assoc($columns_res)) { + if ($columns_res) while ($row = mysql_fetch_assoc($columns_res)) { $output[$row['Charset']] = $row; }