diff options
author | Mario <mario@mariovavti.com> | 2024-03-19 10:39:59 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-03-19 10:39:59 +0100 |
commit | 8754f72e63ea0fd9067c20104a2b068e5c518d0a (patch) | |
tree | 0fe8a7b3683afe296387402b91985249c5ca71e2 | |
parent | 651a3f838081bd61eb6f1988f21bf6924a5e21db (diff) | |
download | volse-hubzilla-8754f72e63ea0fd9067c20104a2b068e5c518d0a.tar.gz volse-hubzilla-8754f72e63ea0fd9067c20104a2b068e5c518d0a.tar.bz2 volse-hubzilla-8754f72e63ea0fd9067c20104a2b068e5c518d0a.zip |
fix cover photos not uploaded into folder due to missing source option
-rw-r--r-- | Zotlabs/Module/Cover_photo.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |