summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2007-03-02 22:03:05 +0000
committerStanislav Malyshev <stas@php.net>2007-03-02 22:03:05 +0000
commita0215e9ac44341e57dedcedfe986d5a9dfd5d2fc (patch)
treebbe4f3bcfb9557d5cb4454109a66df8d94370b2e /main/php_variables.c
parentfc35807a38d27491d73937e616c53b6ef2c7f2b6 (diff)
downloadphp-git-a0215e9ac44341e57dedcedfe986d5a9dfd5d2fc.tar.gz
fix variable name
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 32acb140e9..bb7d4cf092 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -124,7 +124,7 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_arra
char *index_s;
int new_idx_len = 0;
- if(++nest_level > PG(max_nesting_level)) {
+ if(++nest_level > PG(max_input_nesting_level)) {
/* too many levels of nesting */
php_error_docref(NULL TSRMLS_CC, E_ERROR, "Input variable nesting level more than allowed %d (change max_input_nesting_level in php.ini to increase the limit)", PG(max_input_nesting_level));
}