aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-03 14:30:42 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-03 14:30:42 -0700
commit0b9332fde9e3552649033625ab3aa4bca598b339 (patch)
tree462e2a25e992168160593485a9bab5815db58d50 /include
parent065a50c920ebfe2274ab134bca7849051f3582e7 (diff)
downloadvolse-hubzilla-0b9332fde9e3552649033625ab3aa4bca598b339.tar.gz
volse-hubzilla-0b9332fde9e3552649033625ab3aa4bca598b339.tar.bz2
volse-hubzilla-0b9332fde9e3552649033625ab3aa4bca598b339.zip
in hubzilla we're going to convert doco to items. define it here so that an accidental import/export doesn't chuck a wobbly.
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index 1009530a4..73ed64116 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1198,12 +1198,15 @@ function encode_item($item,$mirror = false) {
case 2:
$x['item_restrict'] |= ITEM_PDL;
break;
- case 2:
+ case 3:
$x['item_restrict'] |= ITEM_WEBPAGE;
break;
- case 2:
+ case 4:
$x['item_restrict'] |= ITEM_BUG;
break;
+ case 5:
+ $x['item_restrict'] |= ITEM_DOC;
+ break;
default:
break;
}