]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Feed.php
Merge pull request #12296 from MrPetovan/bug/deprecated
[friendica.git] / src / Protocol / Feed.php
index e5f205aa5a90712c7e439c8dd25fc4473b4a844a..7c6a68b60187907828d914fade202efe8054a41e 100644 (file)
@@ -438,7 +438,7 @@ class Feed
                                }
 
                                if (!empty($href)) {
-                                       $attachment = ['type' => Post\Media::UNKNOWN, 'url' => $href, 'mimetype' => $type, 'size' => $length];
+                                       $attachment = ['uri-id' => -1, 'type' => Post\Media::UNKNOWN, 'url' => $href, 'mimetype' => $type, 'size' => $length];
 
                                        $attachment = Post\Media::fetchAdditionalData($attachment);