From ade748bccdd7c80272315b923b5572866edb4e30 Mon Sep 17 00:00:00 2001 From: gggeek Date: Mon, 26 May 2014 23:16:38 +0100 Subject: [PATCH] One more nitpick --- lib/phpxmlrpc.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/phpxmlrpc.php b/lib/phpxmlrpc.php index fa04f70d..8fa6684a 100644 --- a/lib/phpxmlrpc.php +++ b/lib/phpxmlrpc.php @@ -46,12 +46,7 @@ class Phpxmlrpc /// These will NOT be present in true ISO-8859-1, but will save the unwary /// windows user from sending junk (though no luck when reciving them...) /* - public $xml_cp1252_Entities'=array(); - for ($i = 128; $i < 160; $i++) - { - $GLOBALS['xml_cp1252_Entities']['in'][] = chr($i); - } - public $xml_cp1252_Entities['out'] = array( + public $xml_cp1252_Entities = array('in' => array(), out' => array( '€', '?', '‚', 'ƒ', '„', '…', '†', '‡', 'ˆ', '‰', 'Š', '‹', @@ -60,7 +55,7 @@ class Phpxmlrpc '”', '•', '–', '—', '˜', '™', 'š', '›', 'œ', '?', 'ž', 'Ÿ' - ); + )); */ public $xmlrpcerr = array( @@ -181,6 +176,11 @@ class Phpxmlrpc $this->xml_iso88591_Entities["in"][] = chr($i); $this->xml_iso88591_Entities["out"][] = "&#{$i};"; } + + /*for ($i = 128; $i < 160; $i++) + { + $this->xml_cp1252_Entities['in'][] = chr($i); + }*/ } /** -- 2.47.0