mirror of
https://github.com/php/php-src.git
synced 2024-09-29 05:46:06 +00:00
parent
e8f2315a00
commit
9a9249a8d0
@ -1011,13 +1011,6 @@ static void php_wddx_process_data(void *user_data, const XML_Char *s, int len)
|
||||
break;
|
||||
|
||||
case ST_BOOLEAN:
|
||||
if (IS_UNDEF == Z_TYPE(ent->data)) {
|
||||
if (ent->varname) {
|
||||
efree(ent->varname);
|
||||
ent->varname = NULL;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (!strcmp((char *)s, "true")) {
|
||||
Z_LVAL(ent->data) = 1;
|
||||
} else if (!strcmp((char *)s, "false")) {
|
||||
|
Loading…
Reference in New Issue
Block a user