diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp_var_value.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_var_value.c b/src/sp_var_value.c index 304ece9..7f74afa 100644 --- a/src/sp_var_value.c +++ b/src/sp_var_value.c | |||
| @@ -154,9 +154,9 @@ static zval *get_unknown_type(const char *restrict value, zval *zvalue, | |||
| 154 | if (ce) { | 154 | if (ce) { |
| 155 | zvalue = get_entry_hashtable(&ce->constants_table, value, strlen(value)); | 155 | zvalue = get_entry_hashtable(&ce->constants_table, value, strlen(value)); |
| 156 | ce = NULL; | 156 | ce = NULL; |
| 157 | } else if (zvalue && Z_TYPE_P(zvalue) == IS_OBJECT && value[0]) { | 157 | } else if (zvalue && Z_TYPE_P(zvalue) == IS_OBJECT) { |
| 158 | zvalue = get_object_property(ed, zvalue, value, is_param); | 158 | zvalue = get_object_property(ed, zvalue, value, is_param); |
| 159 | } else if (!tree->next && !zvalue) { | 159 | } else if (!zvalue) { |
| 160 | if (tree->type == CONSTANT) { | 160 | if (tree->type == CONSTANT) { |
| 161 | zvalue = get_constant(value); | 161 | zvalue = get_constant(value); |
| 162 | } | 162 | } |
