From: Andrew Dolgov Date: Thu, 31 Mar 2016 06:48:05 +0000 (+0300) Subject: fetch_file_contents: fix shim when invoked with 1 argument only X-Git-Tag: 16.8~34 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c71add385dc87d489df3a6e9db9353f92233ec84;p=tt-rss.git fetch_file_contents: fix shim when invoked with 1 argument only --- diff --git a/include/functions.php b/include/functions.php index 0a74db85..d6bd5fb7 100755 --- a/include/functions.php +++ b/include/functions.php @@ -343,7 +343,7 @@ global $fetch_last_content_type; global $fetch_curl_used; - if (!is_array($options) && func_num_args() > 1) { + if (!is_array($options)) { // falling back on compatibility shim $options = array(