From: Andi Gutmans Date: Fri, 28 Dec 2001 13:18:19 +0000 (+0000) Subject: - Wasn't adding the lower case version of the class name to the hash X-Git-Tag: PRE_ISSET_PATCH~385 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a838373910cf3ce00b420070a00b5f5e7b0f628;p=php - Wasn't adding the lower case version of the class name to the hash --- 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!"); } }