aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-04-18 13:58:43 -0700
committerzotlabs <mike@macgirvin.com>2019-04-18 13:58:43 -0700
commit66479e2aa75d10fc509f9cde1a53c08037aab940 (patch)
tree916165bd394b9d4d33a6cbf2962b18c49a3a33ed /Zotlabs
parent6feddcbced5c26f18216063efda5967e706748b7 (diff)
parent6c93518ef733a28ef06451193fbad8d964ac4127 (diff)
downloadvolse-hubzilla-66479e2aa75d10fc509f9cde1a53c08037aab940.tar.gz
volse-hubzilla-66479e2aa75d10fc509f9cde1a53c08037aab940.tar.bz2
volse-hubzilla-66479e2aa75d10fc509f9cde1a53c08037aab940.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs')
-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 6912322aa..37ae03460 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -83,7 +83,7 @@ class Photo extends \Zotlabs\Web\Controller {
$modified = strtotime($r[0]['edited'] . "Z");
$mimetype = $r[0]['mimetype'];
if(intval($r[0]['os_storage']))
- $data = file_get_contents($data);
+ $data = file_get_contents(dbunescbin($r[0]['content']));
else
$data = dbunescbin($r[0]['content']);
}