diff options
Diffstat (limited to 'src/sp_disabled_functions.c')
| -rw-r--r-- | src/sp_disabled_functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_disabled_functions.c b/src/sp_disabled_functions.c index eb0ba83..779240e 100644 --- a/src/sp_disabled_functions.c +++ b/src/sp_disabled_functions.c | |||
| @@ -67,7 +67,7 @@ static bool is_local_var_matching( | |||
| 67 | const sp_disabled_function* const config_node) { | 67 | const sp_disabled_function* const config_node) { |
| 68 | zval* var_value; | 68 | zval* var_value; |
| 69 | 69 | ||
| 70 | var_value = get_value(execute_data, config_node->var, false); | 70 | var_value = sp_get_var_value(execute_data, config_node->var, false); |
| 71 | if (var_value) { | 71 | if (var_value) { |
| 72 | if (Z_TYPE_P(var_value) == IS_ARRAY) { | 72 | if (Z_TYPE_P(var_value) == IS_ARRAY) { |
| 73 | if (config_node->key || config_node->r_key) { | 73 | if (config_node->key || config_node->r_key) { |
| @@ -187,7 +187,7 @@ static bool is_param_matching(zend_execute_data* execute_data, | |||
| 187 | } | 187 | } |
| 188 | } else if (config_node->param) { | 188 | } else if (config_node->param) { |
| 189 | *arg_name = config_node->param->value; | 189 | *arg_name = config_node->param->value; |
| 190 | arg_value = get_value(execute_data, config_node->param, true); | 190 | arg_value = sp_get_var_value(execute_data, config_node->param, true); |
| 191 | 191 | ||
| 192 | if (arg_value) { | 192 | if (arg_value) { |
| 193 | *arg_value_str = sp_convert_to_string(arg_value); | 193 | *arg_value_str = sp_convert_to_string(arg_value); |
