From 8754f72e63ea0fd9067c20104a2b068e5c518d0a Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 19 Mar 2024 10:39:59 +0100 Subject: fix cover photos not uploaded into folder due to missing source option --- Zotlabs/Module/Cover_photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Module/Cover_photo.php b/Zotlabs/Module/Cover_photo.php index f4f9480c0..1c1240e29 100644 --- a/Zotlabs/Module/Cover_photo.php +++ b/Zotlabs/Module/Cover_photo.php @@ -248,7 +248,7 @@ class Cover_photo extends \Zotlabs\Web\Controller { require_once('include/attach.php'); - $res = attach_store(\App::get_channel(), get_observer_hash(), '', array('album' => t('Cover Photos'), 'hash' => $hash, 'nosync' => true)); + $res = attach_store(\App::get_channel(), get_observer_hash(), '', ['album' => t('Cover Photos'), 'hash' => $hash, 'nosync' => true, 'source' => 'photos']); logger('attach_store: ' . print_r($res,true)); -- cgit v1.2.3