aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-04-13 11:58:12 +0200
committerMario Vavti <mario@mariovavti.com>2018-04-13 11:58:12 +0200
commite04d3c45a4fe7e503ea727c54e4c541d40e14661 (patch)
tree5e773cdb978fe1778cb4906620f6f3a4aa2ec2cd /Zotlabs
parent4aaea422bc78b351f055df66b1491e476bf65e12 (diff)
downloadvolse-hubzilla-e04d3c45a4fe7e503ea727c54e4c541d40e14661.tar.gz
volse-hubzilla-e04d3c45a4fe7e503ea727c54e4c541d40e14661.tar.bz2
volse-hubzilla-e04d3c45a4fe7e503ea727c54e4c541d40e14661.zip
provide visible star status for starred posts
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/ThreadItem.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index c2aa920b9..61a012f9d 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -238,9 +238,9 @@ class ThreadItem {
'do' => t("Add Star"),
'undo' => t("Remove Star"),
'toggle' => t("Toggle Star Status"),
- 'classdo' => (intval($item['item_starred']) ? "hidden" : ""),
- 'classundo' => (intval($item['item_starred']) ? "" : "hidden"),
- 'isstarred' => (intval($item['item_starred']) ? "starred fa-star" : "unstarred fa-star-o"),
+ 'classdo' => ((intval($item['item_starred'])) ? "hidden" : ""),
+ 'classundo' => ((intval($item['item_starred'])) ? "" : "hidden"),
+ 'isstarred' => ((intval($item['item_starred'])) ? true : false),
'starred' => t('starred'),
);