cancel
Showing results for 
Search instead for 
Did you mean: 

Mistake in PATCH_SUPEE-5994

Mistake in PATCH_SUPEE-5994

I guess, I found one mistake in PATCH_SUPEE-5994:

 

Lines since 982 (add one line marked red):

@@ -777,9 +737,16 @@ function _PEAR_call_destructors()
sizeof($_PEAR_destructor_object_list))
{
reset($_PEAR_destructor_object_list);
- if (PEAR::getStaticProperty('PEAR', 'destructlifo')) {
- $_PEAR_destructor_object_list = array_reverse($_PEAR_destructor_object_list);
+ if (PEAR_ZE2) {
+ $destructLifoExists = PEAR5::getStaticProperty('PEAR', 'destructlifo');

etc.