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 98fdd2efc0..e4b0f71e18 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -68,7 +68,7 @@ PHPAPI void php_register_variable_ex(char *var_name, zval *val, zval *track_vars
zend_bool is_array = 0;
HashTable *symtable1 = NULL;
- assert(var != NULL);
+ assert(var_name != NULL);
if (track_vars_array) {
symtable1 = Z_ARRVAL_P(track_vars_array);