diff options
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/conversation.php b/include/conversation.php index 332171e03..4238ff586 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -513,14 +513,14 @@ function prepare_threads_body($a, $items, $cmnt_tpl, $page_writeable, $mode, $pr } } if($profile_owner == local_user()) { - $isstarred = (($item['starred']) ? "starred" : "unstarred"); + $isstarred = (($item['item_flags'] & ITEM_STARRED) ? "starred" : "unstarred"); $star = array( 'do' => t("add star"), 'undo' => t("remove star"), 'toggle' => t("toggle star status"), - 'classdo' => (($item['starred']) ? "hidden" : ""), - 'classundo' => (($item['starred']) ? "" : "hidden"), + 'classdo' => (($item['item_flags'] & ITEM_STARRED) ? "hidden" : ""), + 'classundo' => (($item['item_flags'] & ITEM_STARRED) ? "" : "hidden"), 'starred' => t('starred'), 'tagger' => t("add tag"), 'classtagger' => "", |