From 5f178004ea3e6545d3c18267cf853797e98b955e Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sat, 30 Aug 2008 18:27:29 +0000 Subject: Oops, fix the assert. --- main/php_variables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/php_variables.c') 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); -- cgit v1.2.1