XPressME Integration Kit

Trac


Ignore:
Timestamp:
Feb 9, 2013, 9:01:42 AM (12 years ago)
Author:
toemon
Message:

PHP5.4 Fatal error: Call-time pass-by-reference fixed #424

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver2.4/xpressme_integration_kit/include/xpress_block_header.php

    r719 r836  
    3636                { 
    3737                        $xml_data = str_replace('<?xml version="1.0" encoding="EUC-JP" ?>', '<?xml version="1.0" encoding="UTF-8" ?>', $xml_data); 
    38                         $ans = mb_convert_variables('UTF-8' , 'EUC-JP', &$xml_data); //EUC-JP to UTF-8 
     38                        $ans = mb_convert_variables('UTF-8' , 'EUC-JP', $xml_data); //EUC-JP to UTF-8 
    3939                        $ret = @xpress_XML_unserialize($xml_data); 
    40                         $ans = mb_convert_variables('EUC-JP' , 'UTF-8', &$ret); //UTF-8 to EUC-JP 
     40                        $ans = mb_convert_variables('EUC-JP' , 'UTF-8', $ret); //UTF-8 to EUC-JP 
    4141                } else { 
    4242                        $ret = xpress_XML_unserialize($xml_data); 
Note: See TracChangeset for help on using the changeset viewer.