From d15580d81f02ea5d8d9298af32eb82b8b74d462a Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Fri, 24 Feb 2006 20:21:30 +0100
Subject: [PATCH] fixed typo in HTTP client #726

darcs-hash:20060224192130-7ad00-32144bb71be4c9f0cde6a613d8612ce760d18892.gz
---
 inc/HTTPClient.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php
index 1b9e82fe6..18f4435bc 100644
--- a/inc/HTTPClient.php
+++ b/inc/HTTPClient.php
@@ -150,7 +150,7 @@ class HTTPClient {
         if(!empty($uri['query'])) $path .= '?'.$uri['query'];
         $port = $uri['port'];
         if($uri['user']) $this->user = $uri['user'];
-        if($uri['pass']) $this->user = $uri['pass'];
+        if($uri['pass']) $this->pass = $uri['pass'];
 
         // proxy setup
         if($this->proxy_host){
-- 
GitLab