1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 01:48:26 +02:00

MFB: Fixed bug #40009 (http_build_query(array()) returns NULL).

This commit is contained in:
Ilia Alshanetsky
2007-01-03 23:17:17 +00:00
parent 22ad2f9538
commit 0b2e195bd8
+1 -1
View File
@@ -247,7 +247,7 @@ PHP_FUNCTION(http_build_query)
}
if (!formstr.c) {
RETURN_NULL();
RETURN_EMPTY_STRING();
}
smart_str_0(&formstr);