helly Tue May 24 13:59:48 2005 EDT Modified files: /php-src/ext/spl spl_array.c Log: - Small fix (found by joerg) http://cvs.php.net/diff.php/php-src/ext/spl/spl_array.c?r1=1.67&r2=1.68&ty=u Index: php-src/ext/spl/spl_array.c diff -u php-src/ext/spl/spl_array.c:1.67 php-src/ext/spl/spl_array.c:1.68 --- php-src/ext/spl/spl_array.c:1.67 Thu May 19 11:52:02 2005 +++ php-src/ext/spl/spl_array.c Tue May 24 13:59:42 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: spl_array.c,v 1.67 2005/05/19 15:52:02 helly Exp $ */ +/* $Id: spl_array.c,v 1.68 2005/05/24 17:59:42 helly Exp $ */ #ifdef HAVE_CONFIG_H # include "config.h" @@ -607,7 +607,8 @@ if ((intern->ar_flags & SPL_ARRAY_ARRAY_AS_PROPS) != 0 && !std_object_handlers.has_property(object, member, 2 TSRMLS_CC)) { - return spl_array_write_dimension(object, member, value TSRMLS_CC); + spl_array_write_dimension(object, member, value TSRMLS_CC); + return; } std_object_handlers.write_property(object, member, value TSRMLS_CC); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php