From 0cb2ceb35d4281475e8c79af2b252ee57d23b88f Mon Sep 17 00:00:00 2001 From: =?utf8?q?L=C3=A9o=20Colombaro?= Date: Sat, 5 Mar 2016 00:23:01 +0100 Subject: [PATCH] Temp fix for http_build_url, see #2050 --- includes/http_build_url/http_build_url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/http_build_url/http_build_url.php b/includes/http_build_url/http_build_url.php index 0dfdbba..b8207f7 100644 --- a/includes/http_build_url/http_build_url.php +++ b/includes/http_build_url/http_build_url.php @@ -137,7 +137,7 @@ function http_build_url($url, $parts = array(), $flags = HTTP_URL_REPLACE, &$new $parsed_string .= $url['scheme'] . '://'; } - if (!empty($url['user'])) { + if (isset($url['user'])) { $parsed_string .= $url['user']; if (isset($url['pass'])) { -- 2.45.0