mirror of
https://github.com/friendica/friendica
synced 2025-04-25 19:10:11 +00:00
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected - Fix usages - Fix dataset
This commit is contained in:
parent
f3cd973cbe
commit
80bd0a4d5a
11 changed files with 68 additions and 59 deletions
|
@ -491,8 +491,8 @@ class BBCode
|
|||
}
|
||||
|
||||
$i = $curlResult->getBody();
|
||||
$type = $curlResult->getContentType();
|
||||
$type = Images::getMimeTypeByData($i, $mtch[1], $type);
|
||||
$contType = $curlResult->getContentType();
|
||||
$type = Images::getMimeTypeByData($i, $mtch[1], $contType);
|
||||
|
||||
if ($i) {
|
||||
$Image = new Image($i, $type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue