From 9a838373910cf3ce00b420070a00b5f5e7b0f628 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Fri, 28 Dec 2001 13:18:19 +0000 Subject: [PATCH] - Wasn't adding the lower case version of the class name to the hash --- Zend/zend_compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index c2b261c3b4..676cac10ec 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1376,7 +1376,7 @@ static void create_class(HashTable *class_table, char *name, int name_length, ze new_class_entry.parent = NULL; - if (zend_hash_update(class_table, name, name_length+1, &new_class_entry, sizeof(zend_class_entry), ce) == FAILURE) { + if (zend_hash_update(class_table, new_class_entry.name, name_length+1, &new_class_entry, sizeof(zend_class_entry), ce) == FAILURE) { zend_error(E_ERROR, "Can't create class. Fatal error, please report!"); } } -- 2.50.1