]> granicus.if.org Git - php/commitdiff
Quick fix (API was changed)
authorDmitry Stogov <dmitry@php.net>
Fri, 19 Aug 2005 10:55:05 +0000 (10:55 +0000)
committerDmitry Stogov <dmitry@php.net>
Fri, 19 Aug 2005 10:55:05 +0000 (10:55 +0000)
ext/standard/http.c

index 2123bc22f4888eb6ca58d8a21d36cacce3b87be6..6032a13cf607739ae79c42f0cea16bebe5002f5c 100644 (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;
                        }