mirror of
https://github.com/friendica/friendica
synced 2025-05-03 01:04:28 +02:00
IHTTPResult::getContentType is now a string again
This commit is contained in:
parent
02bc99f67b
commit
40b11442c2
9 changed files with 23 additions and 27 deletions
|
@ -429,7 +429,7 @@ class Probe
|
|||
}
|
||||
|
||||
// If it isn't a HTML file then exit
|
||||
if (!in_array('html', $curlResult->getContentType())) {
|
||||
if (($curlResult->getContentType() != '') && !strstr(strtolower($curlResult->getContentType()), 'html')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue