Text formatting in Photo.php

This commit is contained in:
Max Kostikov 2018-11-13 11:39:42 +01:00
parent 286326a98e
commit d029e3dc16

View File

@ -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 {