From efad37874b34c43b5b61338521e9593973357297 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 3 May 2006 11:24:29 +0000 Subject: [PATCH] Fixed bug #37276 (problems witch $_POST array) --- NEWS | 1 + main/php_variables.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 15d1fc5ac7..7eac72e578 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ PHP NEWS for SSL streams. (Wez). - Fixed possible crash in highlight_string(). (Dmitry) - Fixed bug #37277 (cloning Dom Documents or Nodes does not work). (Rob) +- Fixed bug #37276 (problems witch $_POST array). (Dmitry) - Fixed bug #36632 (bad error reporting for pdo_odbc exec UPDATE). (Wez). - Fixed bug #35552 (crash when pdo_odbc prepare fails). (Wez). 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 { -- 2.40.0