cvs: php4(PHP_4_2_0) /main php_variables.c

From: Date: Sun, 28 Jul 2002 09:26:43 +0000
Subject: cvs: php4(PHP_4_2_0) /main php_variables.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13006@lists.php.net to get a copy of this message
yohgaki Sun Jul 28 05:26:43 2002 EDT Modified files: (Branch: PHP_4_2_0) /php4/main php_variables.c Log: MFH Index: php4/main/php_variables.c diff -u php4/main/php_variables.c:1.35.2.1 php4/main/php_variables.c:1.35.2.2 --- php4/main/php_variables.c:1.35.2.1 Wed Jul 24 07:25:55 2002 +++ php4/main/php_variables.c Sun Jul 28 05:26:43 2002 @@ -16,7 +16,7 @@ | Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: php_variables.c,v 1.35.2.1 2002/07/24 11:25:55 sesser Exp $ */ +/* $Id: php_variables.c,v 1.35.2.2 2002/07/28 09:26:43 yohgaki Exp $ */ #include <stdio.h> #include "php.h" @@ -303,6 +303,10 @@ val_len = php_url_decode(val, strlen(val)); php_register_variable_safe(var, val, val_len, array_ptr TSRMLS_CC); } + else { + php_register_variable_safe(var, NULL, 0, array_ptr TSRMLS_CC); + } + var = php_strtok_r(NULL, separator, &strtok_buf); }

« previous php.cvs (#13006) next »