mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-21 17:15:25 +03:00
[lib/contents.php] Use variable name 'retVal' instead of 'retval' as variable names are case-sensitive (#2498)
This commit is contained in:
parent
05273a9278
commit
18504f2356
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ function getContents($url, $header = array(), $opts = array(), $returnHeader = f
|
|||
throw new GetContentsException('cURL error: ' . $curlError . ' (' . $curlErrno . ')');
|
||||
}
|
||||
|
||||
throw new UnexpectedResponseException($retval['content'], $retval['header'], $errorCode);
|
||||
throw new UnexpectedResponseException($retVal['content'], $retVal['header'], $errorCode);
|
||||
}
|
||||
|
||||
return ($returnHeader === true) ? $retVal : $retVal['content'];
|
||||
|
|
Loading…
Reference in a new issue