aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Cover_photo.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-19 10:39:59 +0100
committerMario <mario@mariovavti.com>2024-03-19 10:39:59 +0100
commit8754f72e63ea0fd9067c20104a2b068e5c518d0a (patch)
tree0fe8a7b3683afe296387402b91985249c5ca71e2 /Zotlabs/Module/Cover_photo.php
parent651a3f838081bd61eb6f1988f21bf6924a5e21db (diff)
downloadvolse-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
Diffstat (limited to 'Zotlabs/Module/Cover_photo.php')
-rw-r--r--Zotlabs/Module/Cover_photo.php2
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));