mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 05:35:55 +00:00
fetch_file_contents: fix shim when invoked with 1 argument only
This commit is contained in:
@@ -343,7 +343,7 @@
|
|||||||
global $fetch_last_content_type;
|
global $fetch_last_content_type;
|
||||||
global $fetch_curl_used;
|
global $fetch_curl_used;
|
||||||
|
|
||||||
if (!is_array($options) && func_num_args() > 1) {
|
if (!is_array($options)) {
|
||||||
|
|
||||||
// falling back on compatibility shim
|
// falling back on compatibility shim
|
||||||
$options = array(
|
$options = array(
|
||||||
|
|||||||
Reference in New Issue
Block a user