summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/oci8/oci8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index af35e4a533..cefe7d950f 100644
--- a/ext/oci8/oci8.c
+++ b/ext/oci8/oci8.c
@@ -1101,7 +1101,7 @@ _oci_get_ocicoll(zval *id,oci_collection **collection TSRMLS_DC)
{
zval **coll;
- if (zend_hash_find(Z_OBJPROP(*id), "collection", sizeof("collection"), (void **)&coll) == FAILURE) {
+ if (zend_hash_find(Z_OBJPROP_P(id), "collection", sizeof("collection"), (void **)&coll) == FAILURE) {
php_error(E_WARNING, "cannot find collection");
return 0;
}
@@ -1125,7 +1125,7 @@ _oci_get_ocidesc(zval *id,oci_descriptor **descriptor TSRMLS_DC)
{
zval **desc;
- if (zend_hash_find(Z_OBJPROP(*id), "descriptor", sizeof("descriptor"), (void **)&desc) == FAILURE) {
+ if (zend_hash_find(Z_OBJPROP_P(id), "descriptor", sizeof("descriptor"), (void **)&desc) == FAILURE) {
php_error(E_WARNING, "cannot find descriptor");
return 0;
}