aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-04-05 14:17:39 +0200
committerMax Kostikov <max@kostikov.co>2019-04-05 14:17:39 +0200
commitea4b4ddce46601ccd8adbb5ce5e127730f4b1e29 (patch)
tree558372911a29880f139e94ff95e9a43a26870407
parentbd95c7b82afee463ffc1e2687f234df1d05e57f7 (diff)
downloadvolse-hubzilla-ea4b4ddce46601ccd8adbb5ce5e127730f4b1e29.tar.gz
volse-hubzilla-ea4b4ddce46601ccd8adbb5ce5e127730f4b1e29.tar.bz2
volse-hubzilla-ea4b4ddce46601ccd8adbb5ce5e127730f4b1e29.zip
Update Photo.php
-rw-r--r--Zotlabs/Module/Photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php
index f397b952f..5a926ca6f 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -81,7 +81,7 @@ class Photo extends \Zotlabs\Web\Controller {
);
if($r) {
$modified = strtotime($r[0]['edited'] . "Z");
- $data = dbunescbin($r[0]['content']);
+ $mimetype = $r[0]['mimetype'];
if(intval($r[0]['os_storage']))
$data = file_get_contents($data);
else