cvs: pear /XML_RPC RPC.php
| From: | Stig Bakken | Date: | Sun, 19 May 2002 21:34:15 +0000 |
| Subject: | cvs: pear /XML_RPC RPC.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-3939@lists.php.net to get a copy of this message | ||
ssb Sun May 19 17:34:15 2002 EDT
Modified files:
/pear/XML_RPC RPC.php
Log:
* fix a bug that made boolean return values not work
Index: pear/XML_RPC/RPC.php
diff -u pear/XML_RPC/RPC.php:1.6 pear/XML_RPC/RPC.php:1.7
--- pear/XML_RPC/RPC.php:1.6 Tue Apr 16 01:12:42 2002
+++ pear/XML_RPC/RPC.php Sun May 19 17:34:14 2002
@@ -1,7 +1,7 @@
<?php
// by Edd Dumbill (C) 1999-2001
// <edd@usefulinc.com>
-// $Id: RPC.php,v 1.6 2002/04/16 05:12:42 ssb Exp $
+// $Id: RPC.php,v 1.7 2002/05/19 21:34:14 ssb Exp $
// License is granted to use or modify this software ("XML-RPC for PHP")
// for commercial or non-commercial use provided the copyright of the author
@@ -245,7 +245,7 @@
} else if ($XML_RPC_xh[$parser]['qt']==2) {
$XML_RPC_xh[$parser]['st'].="base64_decode('".
$XML_RPC_xh[$parser]['ac'] . "')";
} else if ($name=="BOOLEAN") {
- $XML_RPC_xh[$parser]['st'].=$_xh[$parser]['ac'];
+ $XML_RPC_xh[$parser]['st'].=$XML_RPC_xh[$parser]['ac'];
} else {
// we have an I4, INT or a DOUBLE
// we must check that only 0123456789-.<space> are characters here
@@ -261,7 +261,7 @@
}
$XML_RPC_xh[$parser]['ac']=""; $XML_RPC_xh[$parser]['qt']=0;
- $_xh[$parser]['lv']=3; // indicate we've found a value
+ $XML_RPC_xh[$parser]['lv']=3; // indicate we've found a value
break;
case "VALUE":