aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Item.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-23 11:19:24 +0000
committerMario <mario@mariovavti.com>2024-03-23 11:19:24 +0000
commitecdd9a4d6edd769a3e2c3b0604e4637d94fa1a51 (patch)
tree442f29fb335153d72b7f782980e088b908dd6813 /Zotlabs/Module/Item.php
parentf457b6623d083db241578882197f608a67149987 (diff)
downloadvolse-hubzilla-ecdd9a4d6edd769a3e2c3b0604e4637d94fa1a51.tar.gz
volse-hubzilla-ecdd9a4d6edd769a3e2c3b0604e4637d94fa1a51.tar.bz2
volse-hubzilla-ecdd9a4d6edd769a3e2c3b0604e4637d94fa1a51.zip
revert default to activity type Article until we have a more stable solution to override it for platforms which do not support it
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r--Zotlabs/Module/Item.php2
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);