[Solar-svn] Revision 3220
pmjones at solarphp.com
pmjones at solarphp.com
Fri Jun 13 13:32:34 CDT 2008
Solar_Http_Request_Adapter_Curl: [FIX] Check the $response for emptiness, not the $content. Thanks, Antti H.
Modified: trunk/Solar/Http/Request/Adapter/Curl.php
===================================================================
--- trunk/Solar/Http/Request/Adapter/Curl.php 2008-06-12 22:10:15 UTC (rev 3219)
+++ trunk/Solar/Http/Request/Adapter/Curl.php 2008-06-13 18:32:34 UTC (rev 3220)
@@ -39,7 +39,7 @@
$response = curl_exec($ch);
// did we hit any errors?
- if ($content === false || $content === null) {
+ if ($response === false || $response === null) {
throw $this->_exception(
'ERR_CONNECTION_FAILED',
array(
More information about the Solar-svn
mailing list