diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-12-11 02:52:43 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-12-11 02:52:43 -0800 |
commit | 9fb7a12849cd0e91e16c68041a525b9a552242d0 (patch) | |
tree | b60debf597497066305531f4860268851bab01ed /mod | |
parent | f73c82632f213ac7971b54220b4a0c87d354ca1e (diff) | |
download | volse-hubzilla-9fb7a12849cd0e91e16c68041a525b9a552242d0.tar.gz volse-hubzilla-9fb7a12849cd0e91e16c68041a525b9a552242d0.tar.bz2 volse-hubzilla-9fb7a12849cd0e91e16c68041a525b9a552242d0.zip |
incorrect obj_type on several items
Diffstat (limited to 'mod')
-rw-r--r-- | mod/item.php | 1 | ||||
-rwxr-xr-x | mod/subthread.php | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php index f32ff8844..b3ef57529 100644 --- a/mod/item.php +++ b/mod/item.php @@ -107,6 +107,7 @@ function item_post(&$a) { $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); diff --git a/mod/subthread.php b/mod/subthread.php index 74d742b6a..ce087806e 100755 --- a/mod/subthread.php +++ b/mod/subthread.php @@ -147,7 +147,6 @@ function subthread_content(&$a) { $arr['deny_cid'] = $item['deny_cid']; $arr['deny_gid'] = $item['deny_gid']; - $post = item_store($arr); $post_id = $post['item_id']; |