mirror of
https://github.com/friendica/friendica
synced 2025-04-24 05:10:11 +00:00
Cleanup
This commit is contained in:
parent
a338e4cbff
commit
06371d29a6
5 changed files with 19 additions and 14 deletions
|
@ -499,8 +499,8 @@ class BBCode
|
|||
}
|
||||
|
||||
$i = $curlResult->getBody();
|
||||
$contType = $curlResult->getContentType();
|
||||
$type = Images::getMimeTypeByData($i, $mtch[1], $contType);
|
||||
$type = $curlResult->getContentType();
|
||||
$type = Images::getMimeTypeByData($i, $mtch[1], $type);
|
||||
|
||||
if ($i) {
|
||||
$Image = new Image($i, $type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue