Fixed bug #6252: rteHTMLarea acronyms are not DBAL compatible
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Sat, 6 Oct 2007 21:48:39 +0000 (21:48 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Sat, 6 Oct 2007 21:48:39 +0000 (21:48 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-1@2535 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php

index 10c1f65..9722556 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 2007-10-06  Martin Kutschker  <martin.t.kutschker@blackbox.net>
 
        * Fixed bug #6462: Wrong default locale charset on Windows
+       * Fixed bug #6252: rteHTMLarea acronyms are not DBAL compatible
 
 2007-09-24 Andreas Otto <andreas.otto@dkd.de>
 
index 17bb2fe..7a69c7e 100644 (file)
@@ -1557,7 +1557,7 @@ class tx_rtehtmlarea_base extends t3lib_rteapi {
                $JSAbbreviationArray .= 'abbreviations = { ' . $linebreak;
                $table = 'tx_rtehtmlarea_acronym';
                if($this->contentLanguageUid > -1) {
-                       $whereClause = '(sys_language_uid="'.$this->contentLanguageUid . '" OR sys_language_uid="-1")';
+                       $whereClause = '(sys_language_uid='.$this->contentLanguageUid . ' OR sys_language_uid=-1)';
                } else {
                        $whereClause = '1 = 1';
                }