aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-14 14:46:01 -0800
committerfriendica <info@friendica.com>2015-01-14 14:46:01 -0800
commit7a24943c3437fbd78948121c54b9a94a26bd8996 (patch)
tree44c006bb255499df792a3fdaffb53e429a738585 /mod/item.php
parent25e090148d456bab057c456f1446301a6ffe56f4 (diff)
downloadvolse-hubzilla-7a24943c3437fbd78948121c54b9a94a26bd8996.tar.gz
volse-hubzilla-7a24943c3437fbd78948121c54b9a94a26bd8996.tar.bz2
volse-hubzilla-7a24943c3437fbd78948121c54b9a94a26bd8996.zip
some back-end code to support location activity objects. Work in progress.
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php
index bc8cfd047..7704d0ba6 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -88,6 +88,7 @@ function item_post(&$a) {
$pagetitle = ((x($_REQUEST,'pagetitle')) ? escape_tags(urlencode($_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']) : ACTIVITY_OBJ_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);