mirror of
https://github.com/friendica/friendica
synced 2025-04-20 15:10:12 +00:00
Move internal recursion-counter to the end of all cur/fetchUrl parameters
This commit is contained in:
parent
10683a43c8
commit
cc7444d84d
15 changed files with 34 additions and 38 deletions
|
@ -781,7 +781,7 @@ class Image
|
|||
$data = Cache::get($url);
|
||||
|
||||
if (is_null($data) || !$data || !is_array($data)) {
|
||||
$img_str = Network::fetchUrl($url, true, $redirects, 4);
|
||||
$img_str = Network::fetchUrl($url, true, 4);
|
||||
|
||||
if (!$img_str) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue