IHTTPResult::getContentType is now a string again
This commit is contained in:
@@ -427,7 +427,7 @@ class Photo
|
||||
$contType = $ret->getContentType();
|
||||
} else {
|
||||
$img_str = '';
|
||||
$contType = [];
|
||||
$contType = '';
|
||||
}
|
||||
|
||||
if ($quit_on_error && ($img_str == "")) {
|
||||
|
||||
@@ -1008,7 +1008,7 @@ class User
|
||||
$contType = $curlResult->getContentType();
|
||||
} else {
|
||||
$img_str = '';
|
||||
$contType = [];
|
||||
$contType = '';
|
||||
}
|
||||
|
||||
$type = Images::getMimeTypeByData($img_str, $photo, $contType);
|
||||
|
||||
Reference in New Issue
Block a user