diff options
author | Max Kostikov <max@kostikov.co> | 2019-04-05 14:17:39 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-04-05 14:17:39 +0200 |
commit | ea4b4ddce46601ccd8adbb5ce5e127730f4b1e29 (patch) | |
tree | 558372911a29880f139e94ff95e9a43a26870407 /Zotlabs/Module/Photo.php | |
parent | bd95c7b82afee463ffc1e2687f234df1d05e57f7 (diff) | |
download | volse-hubzilla-ea4b4ddce46601ccd8adbb5ce5e127730f4b1e29.tar.gz volse-hubzilla-ea4b4ddce46601ccd8adbb5ce5e127730f4b1e29.tar.bz2 volse-hubzilla-ea4b4ddce46601ccd8adbb5ce5e127730f4b1e29.zip |
Update Photo.php
Diffstat (limited to 'Zotlabs/Module/Photo.php')
-rw-r--r-- | Zotlabs/Module/Photo.php | 2 |
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 |