]> granicus.if.org Git - php/commitdiff
Add extra parameter to php_escape_html_entities.
authorWez Furlong <wez@php.net>
Mon, 28 May 2001 11:05:14 +0000 (11:05 +0000)
committerWez Furlong <wez@php.net>
Mon, 28 May 2001 11:05:14 +0000 (11:05 +0000)
# I meant to commit this with the html.[ch] changes

ext/wddx/wddx.c

index f188b535b0647411fb8ffd63bb891a5cd42ec5a1..74e3352323af8706affc1163979785306ac60101 100644 (file)
@@ -560,7 +560,7 @@ void php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name
        int name_esc_len;
 
        if (name) {
-               name_esc = php_escape_html_entities(name, name_len, &name_esc_len, 0, ENT_QUOTES);
+               name_esc = php_escape_html_entities(name, name_len, &name_esc_len, 0, ENT_QUOTES, NULL);
                sprintf(tmp_buf, WDDX_VAR_S, name_esc);
                php_wddx_add_chunk(packet, tmp_buf);
                efree(name_esc);