Update Photos.php
This commit is contained in:
parent
194ba0cf8d
commit
6731564c2d
@ -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);
|
||||||
|
Reference in New Issue
Block a user