cvs: /php4/ext/wddx wddx.c

From: Date: Tue, 04 Apr 2000 16:41:43 +0000
Subject: cvs: /php4/ext/wddx wddx.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-13106@lists.php.net to get a copy of this message
andrei Tue Apr 4 09:41:43 2000 EDT Modified files: /php4/ext/wddx wddx.c Log: Additional check for IS_OBJECT. Index: php4/ext/wddx/wddx.c diff -u php4/ext/wddx/wddx.c:1.31 php4/ext/wddx/wddx.c:1.32 --- php4/ext/wddx/wddx.c:1.31 Tue Apr 4 08:47:11 2000 +++ php4/ext/wddx/wddx.c Tue Apr 4 09:41:13 2000 @@ -27,7 +27,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: wddx.c,v 1.31 2000/04/04 15:47:11 thies Exp $ */ +/* $Id: wddx.c,v 1.32 2000/04/04 16:41:13 andrei Exp $ */ #include "php.h" #include "php_wddx.h" @@ -400,7 +400,7 @@ } while(zend_hash_get_current_data(target_hash, (void**)&ent) == SUCCESS) { - if (hash_type == HASH_KEY_IS_STRING) { + if (var->type == IS_OBJECT || hash_type == HASH_KEY_IS_STRING) { ent_type = zend_hash_get_current_key(target_hash, &key, &idx); if (ent_type == HASH_KEY_IS_STRING) {

« previous php.version4 (#13106) next »