mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Fixed bug #40467 (Partial SOAP request sent when XSD sequence or choice include minOccurs=0)
This commit is contained in:
parent
a79d74b694
commit
2cf92f365a
2
NEWS
2
NEWS
@ -5,6 +5,8 @@ PHP NEWS
|
||||
- Upgraded PCRE to version 7.0 (Nuno)
|
||||
- Add --ri switch to CLI which allows to check extension information. (Marcus)
|
||||
- Added tidyNode::getParent() method (John, Nuno)
|
||||
- Fixed bug #40467 (Partial SOAP request sent when XSD sequence or choice
|
||||
include minOccurs=0). (Dmitry)
|
||||
- Fixed bug #40455 (proc_open() uses wrong commandline when safe_mode_exec_dir
|
||||
is set). (Tony)
|
||||
- Fixed bug #40432 (strip_tags() fails with greater than in attribute). (Ilia)
|
||||
|
@ -1574,8 +1574,10 @@ static int model_to_xml_object(xmlNodePtr node, sdlContentModelPtr model, zval *
|
||||
|
||||
zend_hash_internal_pointer_reset_ex(model->u.content, &pos);
|
||||
while (zend_hash_get_current_data_ex(model->u.content, (void**)&tmp, &pos) == SUCCESS) {
|
||||
if (!model_to_xml_object(node, *tmp, object, style, model->min_occurs > 0 TSRMLS_CC)) {
|
||||
return 0;
|
||||
if (!model_to_xml_object(node, *tmp, object, style, (*tmp)->min_occurs > 0 TSRMLS_CC)) {
|
||||
if ((*tmp)->min_occurs > 0) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
zend_hash_move_forward_ex(model->u.content, &pos);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user