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:
+1
-1
@@ -247,7 +247,7 @@ PHP_FUNCTION(http_build_query)
|
||||
}
|
||||
|
||||
if (!formstr.c) {
|
||||
RETURN_NULL();
|
||||
RETURN_EMPTY_STRING();
|
||||
}
|
||||
|
||||
smart_str_0(&formstr);
|
||||
|
||||
Reference in New Issue
Block a user