Skip to content

Commit 0cb0869

Browse files
committed
ffixed variable name typo
1 parent 068d5dd commit 0cb0869

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/xmlapi.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,8 +742,8 @@ private function curl_query($url, $postdata, $authstr)
742742
// Increase buffer size to avoid "funny output" exception
743743
curl_setopt($curl, CURLOPT_BUFFERSIZE, 131072);
744744
// set connect timeout to 10min, timeout to 20min
745-
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 600);
746-
curl_setopt($ch, CURLOPT_TIMEOUT, 1200);
745+
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 600);
746+
curl_setopt($curl, CURLOPT_TIMEOUT, 1200);
747747

748748
// Pass authentication header
749749
$header[0] =$authstr .

0 commit comments

Comments
 (0)