Skip to content

Commit c4514df

Browse files
committed
lib: fix prepareCH during error handling
1 parent 2b35bb1 commit c4514df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

quickbase.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,10 @@ final public function finalize(){
305305
}
306306

307307
final public function prepareCH(&$ch){
308+
if(isset($this->ch) && !$ch){
309+
$ch = $this->ch;
310+
}
311+
308312
curl_setopt($ch, CURLOPT_URL, implode('', array(
309313
$this->settings['useSSL'] ? 'https://' : 'http://',
310314
$this->settings['realm'],

0 commit comments

Comments
 (0)