summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-03-31 09:48:05 +0300
committerAndrew Dolgov <[email protected]>2016-03-31 09:48:05 +0300
commitc71add385dc87d489df3a6e9db9353f92233ec84 (patch)
treeb38f21de637c241895e761db0d26b3d69bd36340 /include
parent465fb16d3312b302fdf8fe0ceb8dfa51b6ad239b (diff)
fetch_file_contents: fix shim when invoked with 1 argument only
Diffstat (limited to 'include')
-rwxr-xr-xinclude/functions.php2
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(