diff options
author | Mario <mario@mariovavti.com> | 2024-03-08 08:44:16 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-03-08 08:44:16 +0000 |
commit | 0e27f010f976ac4f00e336c01de3cfadb4b26662 (patch) | |
tree | b19f9bc83b0f6bb2e67e2f6bc40da64f552aef94 /Zotlabs/Module | |
parent | 45b1be8962903868c5d3a5e98ff09bd74bbecc85 (diff) | |
download | volse-hubzilla-0e27f010f976ac4f00e336c01de3cfadb4b26662.tar.gz volse-hubzilla-0e27f010f976ac4f00e336c01de3cfadb4b26662.tar.bz2 volse-hubzilla-0e27f010f976ac4f00e336c01de3cfadb4b26662.zip |
start sending articles instead of notes by default
Diffstat (limited to 'Zotlabs/Module')
-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 9c967cb88..5c802f557 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']) : 'Note'); + $obj_type = ((x($_REQUEST, 'obj_type')) ? escape_tags($_REQUEST['obj_type']) : 'Article'); // 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); |