Revert "IHTTPResult::getContentType is now a string again"

This reverts commit 40b11442
This commit is contained in:
Philipp 2020-10-11 23:25:29 +02:00
parent 88c95a352b
commit 40349bfdc4
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
9 changed files with 27 additions and 23 deletions

View file

@ -427,7 +427,7 @@ class Photo
$contType = $ret->getContentType();
} else {
$img_str = '';
$contType = '';
$contType = [];
}
if ($quit_on_error && ($img_str == "")) {