diff options
author | Thomas Willingham <founder@kakste.com> | 2013-08-14 20:44:17 +0100 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-08-14 20:44:17 +0100 |
commit | a0dfd44f9178796eaf55e4a2ab0194c12e7dfd21 (patch) | |
tree | 31a43380cbe93e28f27c69a7d676fe6bfafbb0f4 /mod/item.php | |
parent | 94335f237fdadd93b86b271526c25c2a77de9c40 (diff) | |
parent | de4e4c5ebd1ab746432b21d122b5f0cfb70a9bdd (diff) | |
download | volse-hubzilla-a0dfd44f9178796eaf55e4a2ab0194c12e7dfd21.tar.gz volse-hubzilla-a0dfd44f9178796eaf55e4a2ab0194c12e7dfd21.tar.bz2 volse-hubzilla-a0dfd44f9178796eaf55e4a2ab0194c12e7dfd21.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mod/item.php')
-rw-r--r-- | mod/item.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php index dc8ee5015..1893a6ef4 100644 --- a/mod/item.php +++ b/mod/item.php @@ -70,6 +70,7 @@ function item_post(&$a) { $categories = ((x($_REQUEST,'category')) ? escape_tags($_REQUEST['category']) : ''); $webpage = ((x($_REQUEST,'webpage')) ? intval($_REQUEST['webpage']) : 0); $pagetitle = ((x($_REQUEST,'pagetitle')) ? escape_tags($_REQUEST['pagetitle']): ''); + $buildblock = ((x($_REQUEST,'buildblock')) ? intval($_REQUEST['buildblock']) : 0); if($pagetitle) { require_once('library/urlify/URLify.php'); @@ -492,6 +493,8 @@ function item_post(&$a) { if($webpage) $item_restrict = $item_restrict | ITEM_WEBPAGE; + if($buildblock) + $item_restrict = $item_restrict | ITEM_BUILDBLOCK; if(! strlen($verb)) |