From c5b166c6c0f242b8f59f34cf29b209ed256b9ecd Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Thu, 2 Feb 2006 12:55:06 +0000 Subject: [PATCH] Fix a bug in PEAR's Net_URL --- thirdparty/pear/Net/URL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- libgit2 0.21.4