summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2008-08-30 18:27:29 +0000
committerRasmus Lerdorf <rasmus@php.net>2008-08-30 18:27:29 +0000
commit5f178004ea3e6545d3c18267cf853797e98b955e (patch)
treec56e564fd5579cc21aafbd61b007c6d1c7d7441c /main/php_variables.c
parentf52d71d18ed190b4619fc554e495f04d518f3880 (diff)
downloadphp-git-5f178004ea3e6545d3c18267cf853797e98b955e.tar.gz
Oops, fix the assert.
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);