]> git.mxchange.org Git - friendica.git/blobdiff - mod/parse_url.php
Merge pull request #6013 from JonnyTischbein/issue_comment_media_link_prompt
[friendica.git] / mod / parse_url.php
index 331ebf2629edb0ff74a58f5628d815a31a0f53fb..f35c584feb3bf66a623c72efb4d7fae4ae9596dc 100644 (file)
@@ -73,6 +73,7 @@ function parse_url_content(App $a)
                                $hdrs[$k] = $v;
                        }
                }
+               $type = null;
                if (array_key_exists('Content-Type', $hdrs)) {
                        $type = $hdrs['Content-Type'];
                }