Update Photos.php

This commit is contained in:
Max Kostikov 2019-05-08 08:30:25 +02:00
parent 194ba0cf8d
commit 6731564c2d

View File

@ -273,7 +273,7 @@ class Photos extends \Zotlabs\Web\Controller {
$ph->save($arr); $ph->save($arr);
unset($arr['photo_usage']); unset($arr['os_syspath']);
if($width > 1024 || $height > 1024) if($width > 1024 || $height > 1024)
$ph->scaleImage(1024); $ph->scaleImage(1024);