From c71add385dc87d489df3a6e9db9353f92233ec84 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 31 Mar 2016 09:48:05 +0300 Subject: [PATCH] fetch_file_contents: fix shim when invoked with 1 argument only --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 0a74db85c..d6bd5fb73 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(