]> git.mxchange.org Git - friendica.git/blobdiff - mod/parse_url.php
Fix notices in Parse URL feature
[friendica.git] / mod / parse_url.php
index 40eddc3bdd5053afcd93e1581048d4f13f9baf1f..a14379e7096da14cbb13b86fb022c71dbd7a79b3 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'];
                }