summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index 04fb6edb40..f1570e94dd 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -178,7 +178,7 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_arra
is_array = 1;
*ip = 0;
} else {
- is_array = 0;
+ goto plain_var;
}
}
} else {