summaryrefslogtreecommitdiff
path: root/src/sp_disabled_functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_disabled_functions.c')
-rw-r--r--src/sp_disabled_functions.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sp_disabled_functions.c b/src/sp_disabled_functions.c
index 5619e1f..f5051df 100644
--- a/src/sp_disabled_functions.c
+++ b/src/sp_disabled_functions.c
@@ -193,8 +193,7 @@ static bool is_param_matching(zend_execute_data* execute_data,
193 if (arg_value) { 193 if (arg_value) {
194 *arg_value_str = sp_convert_to_string(arg_value); 194 *arg_value_str = sp_convert_to_string(arg_value);
195 if (config_node->param_type) { // Are we matching on the `type`? 195 if (config_node->param_type) { // Are we matching on the `type`?
196 if (config_node->param_type && 196 if (config_node->param_type == Z_TYPE_P(arg_value)) {
197 config_node->param_type == Z_TYPE_P(arg_value)) {
198 return true; 197 return true;
199 } 198 }
200 } else if (Z_TYPE_P(arg_value) == IS_ARRAY) { 199 } else if (Z_TYPE_P(arg_value) == IS_ARRAY) {