IHTTPResult::getContentType is now a string again
[friendica.git/.git] / src / Model / Photo.php
index dc60f25..5f8551f 100644 (file)
@@ -427,7 +427,7 @@ class Photo
                        $contType = $ret->getContentType();
                } else {
                        $img_str = '';
-                       $contType = [];
+                       $contType = '';
                }
 
                if ($quit_on_error && ($img_str == "")) {