From c160736a503c853366c0cfb72e7a1a316cb5eef2 Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Tue, 14 Dec 2021 14:17:32 +0100 Subject: fixed typo where execution hook may not have been active --- src/snuffleupagus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snuffleupagus.c b/src/snuffleupagus.c index 01a0b01..de68130 100644 --- a/src/snuffleupagus.c +++ b/src/snuffleupagus.c @@ -366,7 +366,7 @@ static PHP_INI_MH(OnUpdateConfiguration) { SPCFG(disabled_functions_reg).disabled_functions || SPCFG(disabled_functions_reg_ret).disabled_functions || (SPCFG(disabled_functions) && zend_hash_num_elements(SPCFG(disabled_functions))) || - (SPCFG(disabled_functions) && zend_hash_num_elements(SPCFG(disabled_functions_ret))); + (SPCFG(disabled_functions_ret) && zend_hash_num_elements(SPCFG(disabled_functions_ret))); if (SPCFG(show_old_php_warning)) { time_t ts = time(NULL); -- cgit v1.3