Skip to content

Commit 18504f2

Browse files
authored
[lib/contents.php] Use variable name 'retVal' instead of 'retval' as variable names are case-sensitive (RSS-Bridge#2498)
1 parent 05273a9 commit 18504f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/contents.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ function getContents($url, $header = array(), $opts = array(), $returnHeader = f
265265
throw new GetContentsException('cURL error: ' . $curlError . ' (' . $curlErrno . ')');
266266
}
267267

268-
throw new UnexpectedResponseException($retval['content'], $retval['header'], $errorCode);
268+
throw new UnexpectedResponseException($retVal['content'], $retVal['header'], $errorCode);
269269
}
270270

271271
return ($returnHeader === true) ? $retVal : $retVal['content'];

0 commit comments

Comments
 (0)