mirror of
https://github.com/php/php-src.git
synced 2024-09-24 11:27:28 +00:00
Quick fix (API was changed)
This commit is contained in:
parent
b0e24970bb
commit
80079885bb
@ -65,7 +65,7 @@ PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr,
|
||||
char *tmp;
|
||||
|
||||
zend_object *zobj = zend_objects_get_address(type TSRMLS_CC);
|
||||
if (zend_check_property_access(zobj, key TSRMLS_CC) != SUCCESS) {
|
||||
if (zend_check_property_access(zobj, IS_STRING, key TSRMLS_CC) != SUCCESS) {
|
||||
/* private or protected property access outside of the class */
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user