Skip to content

Commit b12f1f2

Browse files
authored
Merge pull request #107 from travis-konarik/master
Serialized/Deserialized BaseCurl and curl handle is no longer available.
2 parents 5b50022 + 70d7a1e commit b12f1f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/HttpClients/BaseCurl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function init(){
5050
* @return True or False
5151
*/
5252
public function isCurlSet(){
53-
if(!isset($this->curl)) return false;
53+
if(!isset($this->curl) || $this->curl === 0) return false;
5454
return true;
5555
}
5656

0 commit comments

Comments
 (0)