cvs: pear /Net_URL URL.php

From: Date: Wed, 02 Mar 2005 03:05:24 +0000
Subject: cvs: pear /Net_URL URL.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-29985@lists.php.net to get a copy of this message
richard Tue Mar 1 22:05:24 2005 EDT Modified files: /pear/Net_URL URL.php Log: Fix bug #3159 http://cvs.php.net/diff.php/pear/Net_URL/URL.php?r1=1.38&r2=1.39&ty=u Index: pear/Net_URL/URL.php diff -u pear/Net_URL/URL.php:1.38 pear/Net_URL/URL.php:1.39 --- pear/Net_URL/URL.php:1.38 Tue Mar 1 21:56:28 2005 +++ pear/Net_URL/URL.php Tue Mar 1 22:05:24 2005 @@ -32,7 +32,7 @@ // | Author: Richard Heyes <richard at php net> | // +-----------------------------------------------------------------------+ // -// $Id: URL.php,v 1.38 2005/03/02 02:56:28 richard Exp $ +// $Id: URL.php,v 1.39 2005/03/02 03:05:24 richard Exp $ // // Net_URL Class (PHP5 Only) @@ -284,7 +284,7 @@ public 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; } /**

« previous php.pear.cvs (#29985) next »