Commit c5b166c6c0f242b8f59f34cf29b209ed256b9ecd

Authored by Neil Blakey-Milner
1 parent ec8c73a3

Fix a bug in PEAR's Net_URL


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4779 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
thirdparty/pear/Net/URL.php
... ... @@ -403,7 +403,7 @@ class Net_URL
403 403 function setProtocol($protocol, $port = null)
404 404 {
405 405 $this->protocol = $protocol;
406   - $this->port = is_null($port) ? $this->getStandardPort() : $port;
  406 + $this->port = is_null($port) ? $this->getStandardPort($protocol) : $port;
407 407 }
408 408  
409 409 }
... ...