*** class.tx_rtehtmlarea_base-old.php Tue Dec 26 17:19:08 2006 --- class.tx_rtehtmlarea_base.php Tue Dec 26 17:18:14 2006 *************** *** 434,444 **** $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,446 ---- $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); ! if ($res) { ! while($languageRow = $TYPO3_DB->sql_fetch_assoc($res)) { ! $this->contentTypo3Language = strtolower(trim($languageRow['lg_typo3'])); ! } ! } } }