cvs: pear /SOAP Base.php
| From: | Jan Schneider | Date: | Fri, 26 Jan 2007 00:01:17 +0000 |
| Subject: | cvs: pear /SOAP Base.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-44389@lists.php.net to get a copy of this message | ||
yunosh Fri Jan 26 00:01:17 2007 UTC
Modified files:
/pear/SOAP Base.php
Log:
Make sure the array is an array.
http://cvs.php.net/viewvc.cgi/pear/SOAP/Base.php?r1=1.78&r2=1.79&diff_format=u
Index: pear/SOAP/Base.php
diff -u pear/SOAP/Base.php:1.78 pear/SOAP/Base.php:1.79
--- pear/SOAP/Base.php:1.78 Thu Jan 25 23:36:06 2007
+++ pear/SOAP/Base.php Fri Jan 26 00:01:16 2007
@@ -413,6 +413,7 @@
$orig_type = $type;
$type = 'Array';
$numtypes = 0;
+ $value = (array)$value;
// XXX this will be slow on larger arrays. Basically, it flattens
// arrays to allow us to serialize multi-dimensional arrays. We
// only do this if arrayType is set, which will typically only