]> granicus.if.org Git - php/commitdiff
Lowercase class name before checking for it
authorStanislav Malyshev <stas@php.net>
Thu, 29 Jun 2000 14:50:23 +0000 (14:50 +0000)
committerStanislav Malyshev <stas@php.net>
Thu, 29 Jun 2000 14:50:23 +0000 (14:50 +0000)
# I didn't really check it - have no WDDX

ext/wddx/wddx.c

index 39c26b0faa2e8c193efcd1c8b2ad4dfcba97cca4..577d35a2f6dcdd26fa09804f9aa45b46e6315f13 100644 (file)
@@ -753,6 +753,7 @@ static void php_wddx_pop_element(void *user_data, const char *name)
                                                ent1->data->type == IS_STRING && ent1->data->value.str.len) {
                                                zend_bool incomplete_class = 0;
 
+                                               zend_str_tolower(ent1->data->value.str.val,ent1->data->value.str.len);
                                                if (zend_hash_find(EG(class_table), ent1->data->value.str.val,
                                                                                   ent1->data->value.str.len+1, (void **) &ce)==FAILURE) {
                                                        BLS_FETCH();