Skip to content

Commit 1616363

Browse files
Girgiasdstogov
authored andcommitted
Fixed incorrect error message
1 parent 3f5c47a commit 1616363

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ext/soap/php_schema.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,8 +1614,6 @@ static int schema_element(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTyp
16141614
attr = get_attribute(attrs, "default");
16151615
if (attr) {
16161616
if (ref != NULL) {
1617-
soap_error0(E_ERROR, "Parsing Schema: element has both 'ref' and 'fixed' attributes");
1618-
} else if (ref != NULL) {
16191617
soap_error0(E_ERROR, "Parsing Schema: element has both 'default' and 'fixed' attributes");
16201618
}
16211619
cur_type->def = estrdup((char*)attr->children->content);

0 commit comments

Comments
 (0)