mirror of
https://github.com/friendica/friendica
synced 2025-04-30 21:44:22 +02:00
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected - Fix usages - Fix dataset
This commit is contained in:
parent
3c074ab315
commit
803c1d71de
11 changed files with 67 additions and 58 deletions
|
@ -430,7 +430,7 @@ class Probe
|
|||
}
|
||||
|
||||
// If it isn't a HTML file then exit
|
||||
if (($curlResult->getContentType() != '') && !strstr(strtolower($curlResult->getContentType()), 'html')) {
|
||||
if (!in_array('html', $curlResult->getContentType())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue