We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2e25fa + 3ede42f commit 4230790Copy full SHA for 4230790
src/Bolt.php
@@ -62,7 +62,7 @@ private function track(): void
62
$curl = curl_init();
63
curl_setopt_array($curl, [
64
CURLOPT_URL => 'https://api-eu.mixpanel.com/import?strict=0&project_id=3355308',
65
- CURLOPT_RETURNTRANSFER => false,
+ CURLOPT_RETURNTRANSFER => true,
66
CURLOPT_ENCODING => '',
67
CURLOPT_MAXREDIRS => 10,
68
CURLOPT_TIMEOUT => $this->connection->getTimeout(),
@@ -96,7 +96,7 @@ private function track(): void
96
],
97
]);
98
99
- if (curl_exec($curl)) {
+ if (curl_exec($curl) !== false) {
100
unlink($file);
101
}
102
curl_close($curl);
0 commit comments