*** class.tx_rtehtmlarea_base-old.php Tue Dec 26 14:42:14 2006
--- class.tx_rtehtmlarea_base.php Tue Dec 26 14:44:22 2006
***************
*** 434,440 ****
$this->contentISOLanguage = trim($TYPO3_CONF_VARS['EXTCONF'][$this->ID]['defaultDictionary']) ? trim($TYPO3_CONF_VARS['EXTCONF'][$this->ID]['defaultDictionary']) : 'en';
$selectFields = 'lg_iso_2, lg_typo3';
$table = 'static_languages';
! $whereClause = 'lg_iso_2 = ' . $TYPO3_DB->fullQuoteStr(strtoupper($this->contentISOLanguage), $table);
$res = $TYPO3_DB->exec_SELECTquery($selectFields, $table, $whereClause);
while($languageRow = $TYPO3_DB->sql_fetch_assoc($res)) {
$this->contentTypo3Language = strtolower(trim($languageRow['lg_typo3']));
--- 434,440 ----
$this->contentISOLanguage = trim($TYPO3_CONF_VARS['EXTCONF'][$this->ID]['defaultDictionary']) ? trim($TYPO3_CONF_VARS['EXTCONF'][$this->ID]['defaultDictionary']) : 'en';
$selectFields = 'lg_iso_2, lg_typo3';
$table = 'static_languages';
! $whereClause = 'lg_iso_2 = ' . $TYPO3_DB->quoteStr(strtoupper($this->contentISOLanguage), $table);
$res = $TYPO3_DB->exec_SELECTquery($selectFields, $table, $whereClause);
while($languageRow = $TYPO3_DB->sql_fetch_assoc($res)) {
$this->contentTypo3Language = strtolower(trim($languageRow['lg_typo3']));