mirror of
https://github.com/friendica/friendica
synced 2025-04-27 17:50:17 +00: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
|
@ -1008,7 +1008,7 @@ class User
|
|||
$contType = $curlResult->getContentType();
|
||||
} else {
|
||||
$img_str = '';
|
||||
$contType = [];
|
||||
$contType = '';
|
||||
}
|
||||
|
||||
$type = Images::getMimeTypeByData($img_str, $photo, $contType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue