iliaa Wed Jan 3 23:16:56 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/standard http.c /php-src NEWS Log: Fixed bug #40009 (http_build_query(array()) returns NULL). http://cvs.php.net/viewvc.cgi/php-src/ext/standard/http.c?r1=1.14.2.4.2.2&r2=1.14.2.4.2.3&diff_format=u Index: php-src/ext/standard/http.c diff -u php-src/ext/standard/http.c:1.14.2.4.2.2 php-src/ext/standard/http.c:1.14.2.4.2.3 --- php-src/ext/standard/http.c:1.14.2.4.2.2 Mon Jan 1 09:36:08 2007 +++ php-src/ext/standard/http.c Wed Jan 3 23:16:56 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: http.c,v 1.14.2.4.2.2 2007/01/01 09:36:08 sebastian Exp $ */ +/* $Id: http.c,v 1.14.2.4.2.3 2007/01/03 23:16:56 iliaa Exp $ */ #include "php_http.h" #include "php_ini.h" @@ -215,7 +215,7 @@ } if (!formstr.c) { - RETURN_NULL(); + RETURN_EMPTY_STRING(); } smart_str_0(&formstr); http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.470&r2=1.2027.2.547.2.471&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.470 php-src/NEWS:1.2027.2.547.2.471 --- php-src/NEWS:1.2027.2.547.2.470 Wed Jan 3 14:46:23 2007 +++ php-src/NEWS Wed Jan 3 23:16:56 2007 @@ -19,6 +19,7 @@ the user part of the email address. (Derick) - Fixed bug #40012 (php_date.c doesnt compile on Netware). (gk at gknw dot de, Derick) +- Fixed bug #40009 (http_build_query(array()) returns NULL). (Ilia) - Fixed bug #39984 (redirect response code in header() could be ignored in CGI sapi). (Ilia) - Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php