diff options
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/items.php b/include/items.php index 28b19caad..e1ca03fbb 100755 --- a/include/items.php +++ b/include/items.php @@ -656,11 +656,11 @@ function encode_item_flags($item) { // ITEM_DELETED is handled in encode_item directly so we don't need to handle it here. $ret = array(); - if($item['flags'] & ITEM_THREAD_TOP) + if($item['item_flags'] & ITEM_THREAD_TOP) $ret[] = 'thread_parent'; - if($item['flags'] & ITEM_NSFW) + if($item['item_flags'] & ITEM_NSFW) $ret[] = 'nsfw'; - if($item['flags'] & ITEM_PRIVATE) + if($item['item_flags'] & ITEM_PRIVATE) $ret[] = 'private'; return $ret; |