[pLog-svn] r3412 - plog/trunk/class/net/http

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun May 14 14:42:29 GMT 2006


Author: oscar
Date: 2006-05-14 14:42:28 +0000 (Sun, 14 May 2006)
New Revision: 3412

Modified:
   plog/trunk/class/net/http/httpclient.class.php
Log:
removed a warning


Modified: plog/trunk/class/net/http/httpclient.class.php
===================================================================
--- plog/trunk/class/net/http/httpclient.class.php	2006-05-14 10:09:01 UTC (rev 3411)
+++ plog/trunk/class/net/http/httpclient.class.php	2006-05-14 14:42:28 UTC (rev 3412)
@@ -263,6 +263,7 @@
 		$postdata = $this->_prepare_post_body($formvars, $formfiles);
 			
 		$URI_PARTS = parse_url($URI);
+		
 		if (!empty($URI_PARTS["user"]))
 			$this->user = $URI_PARTS["user"];
 		if (!empty($URI_PARTS["pass"]))
@@ -270,6 +271,10 @@
 			
 		if( !isset( $URI_PARTS["scheme"] ))
 			$URI_PARTS["scheme"] = "";
+			
+		if( !isset( $URI_PARTS["query"] ))
+			$URI_PARTS["query"] = "";
+			
 				
 		switch($URI_PARTS["scheme"])
 		{



More information about the pLog-svn mailing list