mirror of
https://github.com/friendica/friendica
synced 2025-04-25 19:50:12 +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
|
@ -141,7 +141,7 @@ class ParseUrl
|
|||
}
|
||||
|
||||
// If the file is too large then exit
|
||||
if ($curlResult->getInfo()['download_content_length'] > 1000000) {
|
||||
if (defaults($curlResult->getInfo(), 'download_content_length', 0) > 1000000) {
|
||||
return $siteinfo;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue