From: Dmitry Stogov Date: Wed, 3 May 2006 11:24:29 +0000 (+0000) Subject: Fixed bug #37276 (problems witch $_POST array) X-Git-Tag: php-5.1.4~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efad37874b34c43b5b61338521e9593973357297;p=php Fixed bug #37276 (problems witch $_POST array) --- 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 {