mirror of
https://github.com/friendica/friendica
synced 2025-04-26 11:50:11 +00:00
Fix notices in Parse URL feature
This commit is contained in:
parent
e9c9eb9c66
commit
c4318fe05e
2 changed files with 2 additions and 1 deletions
|
@ -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'];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue