use zend_symtable where appropriate
[m6w6/ext-http] / php_http_negotiate.c
index b8f50f1105721a1de6c60d79424b77d3833d8c33..7fb7c568396e9d8e62d7ebcf976a6437103f2456 100644 (file)
@@ -149,7 +149,7 @@ PHP_HTTP_API HashTable *php_http_negotiate(const char *value, HashTable *support
 
                                if ((selected = neg(identifier, &quality, supported TSRMLS_CC))) {
                                        /* don't overwrite previously set with higher quality */
-                                       if (!zend_hash_exists(Z_ARRVAL(array), selected, strlen(selected) + 1)) {
+                                       if (!zend_symtable_exists(Z_ARRVAL(array), selected, strlen(selected) + 1)) {
                                                add_assoc_double(&array, selected, quality);
                                        }
                                }