Project

General

Profile

Bug #14848 ยป bug_1262.diff

Administrator Admin, 2005-08-24 02:23

View differences:

t3lib/class.t3lib_db.php 2005-07-14 22:54:19.000000000 +0200
* @return boolean Returns TRUE on success or FALSE on failure.
*/
function sql_select_db($TYPO3_db) {
return mysql_select_db($TYPO3_db, $this->link);
$retVal = mysql_select_db($TYPO3_db, $this->link);
if($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['forceCharset']=='utf-8') {
// Working around a bug in MySQL 4.1.x
mysql_query("SET NAMES 'utf8'", $this->link);
mysql_query("SET CHARACTER_SET 'utf8'", $this->link);
}
return $retVal;
}
    (1-1/1)