aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-11-13 11:39:42 +0100
committerMax Kostikov <max@kostikov.co>2018-11-13 11:39:42 +0100
commitd029e3dc167feb9048d2ba06d44b2162d1c45643 (patch)
tree05b507b74b4d6eb85d719136405a87fc465a504a /Zotlabs/Module
parent286326a98e8d5de102ce58eee581c6c2e9fa6c06 (diff)
downloadvolse-hubzilla-d029e3dc167feb9048d2ba06d44b2162d1c45643.tar.gz
volse-hubzilla-d029e3dc167feb9048d2ba06d44b2162d1c45643.tar.bz2
volse-hubzilla-d029e3dc167feb9048d2ba06d44b2162d1c45643.zip
Text formatting in Photo.php
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Photo.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php
index 68cd7c4ac..27cdbf779 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -90,8 +90,8 @@ class Photo extends \Zotlabs\Web\Controller {
if(! $data) {
$x = z_fetch_url($default,true,0,[ 'novalidate' => true ]);
- $data = ($x['success'] ? $x['body'] : EMPTY_STR);
- $mimetype = 'image/png';
+ $data = ($x['success'] ? $x['body'] : EMPTY_STR);
+ $mimetype = 'image/png';
}
}
else {