cvs: php4 /pear/XML RPC.php

From: Date: Thu, 26 Jul 2001 07:58:15 +0000
Subject: cvs: php4 /pear/XML RPC.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-348@lists.php.net to get a copy of this message
ssb Thu Jul 26 03:58:15 2001 EDT Modified files: /php4/pear/XML RPC.php Log: * in case of "NULL" values, XML_RPC_encode() returns an empty string (is there anything else that makes more sense?) Index: php4/pear/XML/RPC.php diff -u php4/pear/XML/RPC.php:1.12 php4/pear/XML/RPC.php:1.13 --- php4/pear/XML/RPC.php:1.12 Wed Jul 25 17:28:24 2001 +++ php4/pear/XML/RPC.php Thu Jul 26 03:58:15 2001 @@ -1,7 +1,7 @@ <?php // by Edd Dumbill (C) 1999-2001 // <edd@usefulinc.com> -// $Id: RPC.php,v 1.12 2001/07/25 21:28:24 ssb Exp $ +// $Id: RPC.php,v 1.13 2001/07/26 07:58:15 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 @@ -1111,6 +1111,7 @@ $XML_RPC_val->addScalar($php_val, $XML_RPC_Double); break; case "string": + case "NULL": $XML_RPC_val->addScalar($php_val, $XML_RPC_String); break; // <G_Giunta_2001-02-29>

« previous php.pear.cvs (#348) next »