diff options
author | Andrew Dolgov <[email protected]> | 2016-03-31 09:48:05 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-03-31 09:48:05 +0300 |
commit | c71add385dc87d489df3a6e9db9353f92233ec84 (patch) | |
tree | b38f21de637c241895e761db0d26b3d69bd36340 | |
parent | 465fb16d3312b302fdf8fe0ceb8dfa51b6ad239b (diff) |
fetch_file_contents: fix shim when invoked with 1 argument only
-rwxr-xr-x | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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( |