Project

General

Profile

Bug #19082 ยป bug_8231.diff

Administrator Admin, 2008-07-10 13:35

View differences:

t3lib/class.t3lib_install.php (Arbeitskopie)
function getCollationForCharset($charset) {
// Load character sets, if not cached already
if (!count($this->character_sets)) {
$this->character_sets = $GLOBALS['TYPO3_DB']->admin_get_charsets();
if (method_exists($GLOBALS['TYPO3_DB'],'admin_get_charsets')) {
$this->character_sets = $GLOBALS['TYPO3_DB']->admin_get_charsets();
} else {
$this->character_sets[$charset] = array(); // Add empty element to avoid that the check will be repeated
}
}
$collation = '';
if (isset($this->character_sets[$charset]['Default collation'])) {
$collation = $this->character_sets[$charset]['Default collation'];
}
    (1-1/1)