[Fusionforge-commits] r15141 - in branches/Branch_5_1: . src/common/include

Roland Mas lolando at fusionforge.org
Fri Mar 16 14:27:03 CET 2012


Author: lolando
Date: 2012-03-16 14:27:03 +0100 (Fri, 16 Mar 2012)
New Revision: 15141

Modified:
   branches/Branch_5_1/
   branches/Branch_5_1/src/common/include/XhtmlValidator.php
Log:
Removed call-time pass-by-reference for compatibility with PHP 5.4

Modified: branches/Branch_5_1/src/common/include/XhtmlValidator.php
===================================================================
--- branches/Branch_5_1/src/common/include/XhtmlValidator.php	2012-03-16 13:25:12 UTC (rev 15140)
+++ branches/Branch_5_1/src/common/include/XhtmlValidator.php	2012-03-16 13:27:03 UTC (rev 15141)
@@ -805,7 +805,7 @@
     function XhtmlValidator()
     {
         $this->_parser = xml_parser_create('');
-        xml_set_object($this->_parser, &$this);
+        xml_set_object($this->_parser, $this);
         xml_set_element_handler($this->_parser, 'tagOpen', 'tagClose');
         xml_set_character_data_handler($this->_parser, 'cdata');
         xml_parser_set_option($this->_parser, XML_OPTION_CASE_FOLDING, false);




More information about the Fusionforge-commits mailing list