mirror of
https://github.com/php/php-src.git
synced 2025-08-21 01:45:16 +02:00
Make browscap not to lowercase its arguments
# Why it is doing it? Parent matching doesn't work with lowercase # If there was any reason to it, please tell
This commit is contained in:
parent
a172147a91
commit
b410eaf6d4
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ statement:
|
||||||
new_property->value.str.val = $3.value.str.val;
|
new_property->value.str.val = $3.value.str.val;
|
||||||
new_property->value.str.len = $3.value.str.len;
|
new_property->value.str.len = $3.value.str.len;
|
||||||
new_property->type = IS_STRING;
|
new_property->type = IS_STRING;
|
||||||
zend_str_tolower(new_property->value.str.val, new_property->value.str.len);
|
/* zend_str_tolower(new_property->value.str.val, new_property->value.str.len); */
|
||||||
zend_hash_update(current_section->value.obj.properties, $1.value.str.val, $1.value.str.len+1, &new_property, sizeof(zval *), NULL);
|
zend_hash_update(current_section->value.obj.properties, $1.value.str.val, $1.value.str.len+1, &new_property, sizeof(zval *), NULL);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue