aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-04-05 14:21:05 +0200
committerMax Kostikov <max@kostikov.co>2019-04-05 14:21:05 +0200
commit8e0b9b82e9e6791d264703e5b823f8cbd5504dff (patch)
tree20ceb5d509acfdf4be5a7aee277d9c154e000a33
parentea4b4ddce46601ccd8adbb5ce5e127730f4b1e29 (diff)
downloadvolse-hubzilla-8e0b9b82e9e6791d264703e5b823f8cbd5504dff.tar.gz
volse-hubzilla-8e0b9b82e9e6791d264703e5b823f8cbd5504dff.tar.bz2
volse-hubzilla-8e0b9b82e9e6791d264703e5b823f8cbd5504dff.zip
Update Photo.php
-rw-r--r--Zotlabs/Module/Photo.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php
index 5a926ca6f..6912322aa 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -80,12 +80,12 @@ class Photo extends \Zotlabs\Web\Controller {
intval(PHOTO_PROFILE)
);
if($r) {
- $modified = strtotime($r[0]['edited'] . "Z");
- $mimetype = $r[0]['mimetype'];
+ $modified = strtotime($r[0]['edited'] . "Z");
+ $mimetype = $r[0]['mimetype'];
if(intval($r[0]['os_storage']))
- $data = file_get_contents($data);
- else
- $data = dbunescbin($r[0]['content']);
+ $data = file_get_contents($data);
+ else
+ $data = dbunescbin($r[0]['content']);
}
if(! $data) {