]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Proxy.php
Add suggestions
[friendica.git] / src / Module / Proxy.php
index 04fe00db1248a8ed07e726c525b256f9b75986a7..cd11d9e3abb2c25cfd19f4c853908acf08a8fb0d 100644 (file)
@@ -75,7 +75,7 @@ class Proxy extends BaseModule
                $request['url'] = str_replace(' ', '+', $request['url']);
 
                // Fetch the content with the local user
-               $fetchResult = HTTPSignature::fetchRaw($request['url'], local_user(), ['accept_content' => '', 'timeout' => 10]);
+               $fetchResult = HTTPSignature::fetchRaw($request['url'], local_user(), ['accept_content' => [], 'timeout' => 10]);
                $img_str = $fetchResult->getBody();
 
                if (!$fetchResult->isSuccess() || empty($img_str)) {