- Small fix (found by joerg)

This commit is contained in:
Marcus Boerger 2005-05-24 17:59:42 +00:00
parent 396affc81e
commit 309025e8c1

View File

@ -607,7 +607,8 @@ static void spl_array_write_property(zval *object, zval *member, zval *value TSR
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);
} /* }}} */