diff options
Diffstat (limited to 'ext/soap/php_xml.c')
-rw-r--r-- | ext/soap/php_xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c index 65e058c2bf..0f03d19fa7 100644 --- a/ext/soap/php_xml.c +++ b/ext/soap/php_xml.c @@ -182,7 +182,7 @@ xmlNodePtr get_node_with_attribute_recursive_ex(xmlNodePtr node, char *name, cha int parse_namespace(const char *inval, char **value, char **namespace) { - char *found = strchr(inval, ':'); + char *found = strrchr(inval, ':'); if (found != NULL && found != inval) { (*namespace) = estrndup(inval, found - inval); |