diff options
author | Mario <mario@mariovavti.com> | 2024-03-23 11:19:24 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-03-23 11:20:44 +0000 |
commit | f7bf9ede7235e70605efd6e85469f5b9aa9ee320 (patch) | |
tree | ea0ff2b83a7e030ccb2387619c045d1d486225a4 | |
parent | 1aeb05628b6a2a069c46980efbe628362c9e3e74 (diff) | |
download | volse-hubzilla-f7bf9ede7235e70605efd6e85469f5b9aa9ee320.tar.gz volse-hubzilla-f7bf9ede7235e70605efd6e85469f5b9aa9ee320.tar.bz2 volse-hubzilla-f7bf9ede7235e70605efd6e85469f5b9aa9ee320.zip |
revert default to activity type Article until we have a more stable solution to override it for platforms which do not support it
(cherry picked from commit ecdd9a4d6edd769a3e2c3b0604e4637d94fa1a51)
-rw-r--r-- | Zotlabs/Module/Item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index b158ed4e0..0324bf662 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -404,7 +404,7 @@ class Item extends Controller { $pagetitle = ((x($_REQUEST, 'pagetitle')) ? escape_tags($_REQUEST['pagetitle']) : ''); $layout_mid = ((x($_REQUEST, 'layout_mid')) ? escape_tags($_REQUEST['layout_mid']) : ''); $plink = ((x($_REQUEST, 'permalink')) ? escape_tags($_REQUEST['permalink']) : ''); - $obj_type = ((x($_REQUEST, 'obj_type')) ? escape_tags($_REQUEST['obj_type']) : 'Article'); + $obj_type = ((x($_REQUEST, 'obj_type')) ? escape_tags($_REQUEST['obj_type']) : 'Note'); // allow API to bulk load a bunch of imported items with sending out a bunch of posts. $nopush = ((x($_REQUEST, 'nopush')) ? intval($_REQUEST['nopush']) : 0); |