summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2006-05-03 11:24:29 +0000
committerDmitry Stogov <dmitry@php.net>2006-05-03 11:24:29 +0000
commitefad37874b34c43b5b61338521e9593973357297 (patch)
tree91a15b0d93f500e8983f92801c9dd3f84f5be1b2
parentdbf2a5c65c8f007d9875e52850d044dfc8015bc3 (diff)
downloadphp-git-efad37874b34c43b5b61338521e9593973357297.tar.gz
Fixed bug #37276 (problems witch $_POST array)
-rw-r--r--NEWS1
-rw-r--r--main/php_variables.c2
2 files changed, 2 insertions, 1 deletions
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 {