diff options
author | Max Kostikov <max@kostikov.co> | 2019-04-16 22:24:48 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-04-16 22:24:48 +0200 |
commit | c4909703243297e49cbb1e37cc16e88b499835a4 (patch) | |
tree | 39d4f4fff8a397bc5d7eb75c3db0b0677ff041f2 | |
parent | 5ba7e5d7d7e32db0803b5bd0f5845d2a1a556f66 (diff) | |
download | volse-hubzilla-c4909703243297e49cbb1e37cc16e88b499835a4.tar.gz volse-hubzilla-c4909703243297e49cbb1e37cc16e88b499835a4.tar.bz2 volse-hubzilla-c4909703243297e49cbb1e37cc16e88b499835a4.zip |
Fix file path with filesystem storage
-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 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']); } |