aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editpost.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-23 19:45:39 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-23 19:45:39 -0700
commitcb76fb8b9b659c4ec06e359f375a35a534927b99 (patch)
treecb5a77aa95ea6e510e9e1ccb33238d6de0957ec7 /mod/editpost.php
parent833098e3460e0a2c7fbffaa59163af815f419e68 (diff)
downloadvolse-hubzilla-cb76fb8b9b659c4ec06e359f375a35a534927b99.tar.gz
volse-hubzilla-cb76fb8b9b659c4ec06e359f375a35a534927b99.tar.bz2
volse-hubzilla-cb76fb8b9b659c4ec06e359f375a35a534927b99.zip
item flag fixes discovered after a few merges
Diffstat (limited to 'mod/editpost.php')
-rw-r--r--mod/editpost.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/editpost.php b/mod/editpost.php
index 66196b2d2..8e4b37103 100644
--- a/mod/editpost.php
+++ b/mod/editpost.php
@@ -126,7 +126,7 @@ function editpost_content(&$a) {
'$noloc' => t('Clear browser location'),
'$voting' => t('Toggle voting'),
'$feature_voting' => $voting,
- '$consensus' => (($itm[0]['item_flags'] & ITEM_CONSENSUS) ? 1 : 0),
+ '$consensus' => intval($itm[0]['item_consensus']),
'$wait' => t('Please wait'),
'$permset' => t('Permission settings'),
'$ptyp' => $itm[0]['type'],