1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-28 20:30:25 +02:00

[lib/contents.php] Use variable name 'retVal' instead of 'retval' as variable names are case-sensitive (#2498)

This commit is contained in:
Paul Staroch
2022-03-14 01:46:30 +01:00
committed by GitHub
parent 05273a9278
commit 18504f2356

View File

@@ -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'];