diff options
| author | jvoisin | 2018-01-17 19:43:11 +0100 |
|---|---|---|
| committer | jvoisin | 2018-01-17 19:43:11 +0100 |
| commit | e2b74815a4bdb8fde177d4dce2e3aa1ba3792617 (patch) | |
| tree | 9e7c6df08696a01ab507006e77ec4d0c765cace7 /src/sp_disabled_functions.c | |
| parent | b213c8e08b5624da9bb69dd05e132e247bab3082 (diff) | |
Bump a bit the coverage
Diffstat (limited to 'src/sp_disabled_functions.c')
| -rw-r--r-- | src/sp_disabled_functions.c | 3 |
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) { |
