Fixed bug #15439: htmlArea RTE: Deprecated call-time pass-by-reference
authorStanislas Rolland <typo3@sjbr.ca>
Tue, 24 Aug 2010 22:59:32 +0000 (22:59 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Tue, 24 Aug 2010 22:59:32 +0000 (22:59 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8687 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/pi1/class.tx_rtehtmlarea_pi1.php

index f358645..8e14f29 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-24  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Fixed bug #15439: htmlArea RTE: Deprecated call-time pass-by-reference
+
 2010-08-24  Ernesto Baschny  <ernesto@typo3.org>
 
        * Release of TYPO3 4.5.0alpha1
 2010-08-24  Ernesto Baschny  <ernesto@typo3.org>
 
        * Release of TYPO3 4.5.0alpha1
index 1557f53..96d19bf 100644 (file)
@@ -1,3 +1,7 @@
+2010-08-24  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Fixed bug #15439: htmlArea RTE: Deprecated call-time pass-by-reference
+
 2010-08-23  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #12583: htmlArea RTE: RTE fails to load due to security error
 2010-08-23  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #12583: htmlArea RTE: RTE fails to load due to security error
index 276df82..e711806 100644 (file)
@@ -226,7 +226,7 @@ class tx_rtehtmlarea_pi1 {
                                // Parsing the input HTML
                        $parser = xml_parser_create(strtoupper($this->parserCharset));
                        xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);
                                // Parsing the input HTML
                        $parser = xml_parser_create(strtoupper($this->parserCharset));
                        xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);
-                       xml_set_object($parser, &$this);
+                       xml_set_object($parser, $this);
                        if (!xml_set_element_handler($parser, 'startHandler', 'endHandler')) echo('Bad xml handler setting');
                        if (!xml_set_character_data_handler($parser, 'collectDataHandler')) echo('Bad xml handler setting');
                        if (!xml_set_default_handler($parser, 'defaultHandler')) echo('Bad xml handler setting');
                        if (!xml_set_element_handler($parser, 'startHandler', 'endHandler')) echo('Bad xml handler setting');
                        if (!xml_set_character_data_handler($parser, 'collectDataHandler')) echo('Bad xml handler setting');
                        if (!xml_set_default_handler($parser, 'defaultHandler')) echo('Bad xml handler setting');