From b6d92b7c76e8dd729a061298d755db9d0bd152ed Mon Sep 17 00:00:00 2001 From: ozh Date: Sat, 22 Apr 2017 19:41:14 +0200 Subject: [PATCH] Revert jakeasmith/http_build_url I believe the updated version doesn't work as it should. And I remember we already tried this updated version and reverted it exactly the same :) --- 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