Merge pull request #713 from zotlabs/photo-zero

Photo zero
This commit is contained in:
git-marijus 2017-04-08 10:15:40 +02:00 committed by GitHub
commit 57f20c0c22

View File

@ -330,6 +330,7 @@ abstract class photo_driver {
$p['photo_usage'] = intval($arr['photo_usage']);
$p['os_storage'] = intval($arr['os_storage']);
$p['os_path'] = $arr['os_path'];
$p['os_syspath'] = ((array_key_exists('os_syspath',$arr)) ? $arr['os_syspath'] : '');
$p['display_path'] = (($arr['display_path']) ? $arr['display_path'] : '');
if(! intval($p['imgscale']))