Fixed typo

This commit is contained in:
Djamil Legato
2016-01-06 16:24:11 -08:00
parent fa39629104
commit 6aaeb9e1f1

View File

@@ -289,7 +289,7 @@ class Response
curl_close($rch);
if (!$max_redirects) {
if ($maxredirect === null) {
if ($max_redirects === null) {
trigger_error('Too many redirects. When following redirects, libcurl hit the maximum amount.', E_USER_WARNING);
}