Fixed bug #14662: htmlArea RTE: Should use t3lib_utility_Client::getBrowserInfo
[Packages/TYPO3.CMS.git] / typo3 / sysext / rtehtmlarea / pi2 / class.tx_rtehtmlarea_pi2.php
index 80847e6..d94979c 100644 (file)
@@ -181,7 +181,7 @@ class tx_rtehtmlarea_pi2 extends tx_rtehtmlarea_base {
                $width = 460+($this->TCEform->docLarge ? 150 : 0);
                if (isset($this->thisConfig['RTEWidthOverride'])) {
                        if (strstr($this->thisConfig['RTEWidthOverride'], '%')) {
-                               if ($this->client['BROWSER'] != 'msie') {
+                               if ($this->client['browser'] != 'msie') {
                                        $width = (intval($this->thisConfig['RTEWidthOverride']) > 0) ? $this->thisConfig['RTEWidthOverride'] : '100%';
                                }
                        } else {