Skip to content

Commit 2d5bd4b

Browse files
committed
Import fix from PR 11776
1 parent af77d3b commit 2d5bd4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/dom/element.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ PHP_METHOD(DOMElement, setAttributeNodeNS)
862862

863863
nsp = attrp->ns;
864864
if (nsp != NULL) {
865-
existattrp = xmlHasNsProp(nodep, nsp->href, attrp->name);
865+
existattrp = xmlHasNsProp(nodep, attrp->name, nsp->href);
866866
} else {
867867
existattrp = xmlHasProp(nodep, attrp->name);
868868
}

0 commit comments

Comments
 (0)