diff --git a/thirdparty/pear/Net/URL.php b/thirdparty/pear/Net/URL.php index a39a7b3..6f8790e 100644 --- a/thirdparty/pear/Net/URL.php +++ b/thirdparty/pear/Net/URL.php @@ -403,7 +403,7 @@ class Net_URL function setProtocol($protocol, $port = null) { $this->protocol = $protocol; - $this->port = is_null($port) ? $this->getStandardPort() : $port; + $this->port = is_null($port) ? $this->getStandardPort($protocol) : $port; } }