This commit is contained in:
Zach Borboa
2017-09-11 22:32:47 -07:00
parent c15f23ce5d
commit 65c5a598ab
+1 -2
View File
@@ -1099,8 +1099,7 @@ class Curl
if ($this->retryDecider === null) {
$attempt_retry = $this->remainingRetries >= 1;
} else {
$func = $this->retryDecider;
$attempt_retry = $func($this);
$attempt_retry = call_user_func($this->retryDecider, $this);
}
if ($attempt_retry) {
$this->retries += 1;