cvs: pear /SOAP Base.php
| From: | Jan Schneider | Date: | Mon, 19 Jun 2006 15:45:39 +0000 |
| Subject: | cvs: pear /SOAP Base.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-40816@lists.php.net to get a copy of this message | ||
yunosh Mon Jun 19 15:45:39 2006 UTC
Modified files:
/pear/SOAP Base.php
Log:
More strict instance check.
http://cvs.php.net/viewvc.cgi/pear/SOAP/Base.php?r1=1.58&r2=1.59&diff_format=u
Index: pear/SOAP/Base.php
diff -u pear/SOAP/Base.php:1.58 pear/SOAP/Base.php:1.59
--- pear/SOAP/Base.php:1.58 Thu Jun 1 11:04:09 2006
+++ pear/SOAP/Base.php Mon Jun 19 15:45:39 2006
@@ -191,7 +191,7 @@
$mode = null, $options = null, $skipmsg = false)
{
// Pass through previous faults.
- $is_instance = isset($this);
+ $is_instance = isset($this) && is_a($this, 'SOAP_Base_Object');
if (is_object($str)) {
$fault =& $str;
} else {