iliaa Wed Jan 3 23:17:17 2007 UTC Modified files: /php-src/ext/standard http.c Log: MFB: Fixed bug #40009 (http_build_query(array()) returns NULL). http://cvs.php.net/viewvc.cgi/php-src/ext/standard/http.c?r1=1.25&r2=1.26&diff_format=u Index: php-src/ext/standard/http.c diff -u php-src/ext/standard/http.c:1.25 php-src/ext/standard/http.c:1.26 --- php-src/ext/standard/http.c:1.25 Mon Jan 1 09:29:32 2007 +++ php-src/ext/standard/http.c Wed Jan 3 23:17:17 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: http.c,v 1.25 2007/01/01 09:29:32 sebastian Exp $ */ +/* $Id: http.c,v 1.26 2007/01/03 23:17:17 iliaa Exp $ */ #include "php_http.h" #include "php_ini.h" @@ -247,7 +247,7 @@ } if (!formstr.c) { - RETURN_NULL(); + RETURN_EMPTY_STRING(); } smart_str_0(&formstr);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php