]> granicus.if.org Git - php/commitdiff
- Fix bug #26441 (When __set() returned a value it corrupted it)
authorAndi Gutmans <andi@php.net>
Fri, 9 Apr 2004 14:42:06 +0000 (14:42 +0000)
committerAndi Gutmans <andi@php.net>
Fri, 9 Apr 2004 14:42:06 +0000 (14:42 +0000)
Zend/zend_object_handlers.c

index a27fdf623ba025ff47bb90f1ab9118caa46ca298..7c078ca666bbcde30ae7cd44a3e1a28da9c5187c 100644 (file)
@@ -141,7 +141,7 @@ static int zend_std_call_setter(zval *object, zval *member, zval *value TSRMLS_D
 
        zval_ptr_dtor(&value);
 
-       if (retval && zval_is_true(retval)) {
+       if (retval && zend_is_true(retval)) {
                ret = SUCCESS;
        } else {
                ret = FAILURE;