Quick fix (API was changed)

This commit is contained in:
Dmitry Stogov 2005-08-19 10:55:05 +00:00
parent b0e24970bb
commit 80079885bb

View File

@ -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;
}