]> git.mxchange.org Git - friendica-addons.git/blobdiff - mailstream/mailstream.php
Review updates
[friendica-addons.git] / mailstream / mailstream.php
index fd5a58aae4cffa7034fb8d4d69804bd4b6492a8a..4ff4c69d7f4cfe74d56405d489334d98e8307573 100644 (file)
@@ -156,7 +156,7 @@ function mailstream_do_images($a, &$item, &$attachments) {
                $redirects;
                $cookiejar = tempnam(get_temppath(), 'cookiejar-mailstream-');
                $attachments[$url] = [
-                       'data' => Network::fetchURL($url, true, $redirects, 0, null, $cookiejar),
+                       'data' => Network::fetchUrl($url, true, $redirects, 0, null, $cookiejar),
                        'guid' => hash("crc32", $url),
                        'filename' => basename($url),
                        'type' => $a->get_curl_content_type()];