Browse Source

Merge pull request #84 from grafitus/master

A very small addition for chaining methods.
emanuele45 12 years ago
parent
commit
5ab79ba1fc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Sources/Class-CurlFetchWeb.php

+ 2 - 0
Sources/Class-CurlFetchWeb.php

@@ -87,6 +87,8 @@ class curl_fetch_web_data
 		// set the options and get it
 		// set the options and get it
 		$this->set_options();
 		$this->set_options();
 		$this->curl_request(str_replace(' ', '%20', $url));
 		$this->curl_request(str_replace(' ', '%20', $url));
+
+		return $this;
 	}
 	}
 
 
 	/**
 	/**