Browse Source

apply correct fix for bug #38461

PECL_OPENSSL
Antony Dovgal 20 years ago
parent
commit
be316018fd
  1. 4
      Zend/zend_object_handlers.c

4
Zend/zend_object_handlers.c

@ -415,7 +415,7 @@ static void zend_std_write_property(zval *object, zval *member, zval *value TSRM
zval_ptr_dtor(&garbage);
}
}
} else if (property_info) {
} else {
int setter_done = 0;
zend_guard *guard;
@ -429,7 +429,7 @@ static void zend_std_write_property(zval *object, zval *member, zval *value TSRM
setter_done = 1;
guard->in_set = 0;
}
if (!setter_done) {
if (!setter_done && property_info) {
zval **foo;
/* if we assign referenced variable, we should separate it */

Loading…
Cancel
Save