mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 03:34:27 +02:00
Revert "IHTTPResult::getContentType is now a string again"
This reverts commit 40b11442
This commit is contained in:
parent
88c95a352b
commit
40349bfdc4
9 changed files with 27 additions and 23 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