From 8e0b9b82e9e6791d264703e5b823f8cbd5504dff Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Fri, 5 Apr 2019 14:21:05 +0200 Subject: Update Photo.php --- Zotlabs/Module/Photo.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Zotlabs/Module/Photo.php') 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) { -- cgit v1.2.3