1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00

Revert "Merge branch 'PHP-7.1'"

This reverts commit 7eac2fdf53, reversing
changes made to 15b80f105c.
This commit is contained in:
Joe Watkins
2017-01-01 06:53:29 +00:00
parent a9aefe5b9b
commit f2eeb47797

View File

@@ -1075,7 +1075,7 @@ static dom_object* dom_objects_set_class(zend_class_entry *class_type, zend_bool
dom_object *intern = ecalloc(1, sizeof(dom_object) + zend_object_properties_size(class_type));
zend_class_entry *base_class = class_type;
while ((base_class->type != ZEND_INTERNAL_CLASS || base_class->info.internal.module != &dom_module_entry) && base_class->parent != NULL) {
while (base_class->type != ZEND_INTERNAL_CLASS && base_class->parent != NULL) {
base_class = base_class->parent;
}