aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadItem.php
diff options
context:
space:
mode:
authormrjive <mrjive@mrjive.it>2018-04-14 15:59:30 +0200
committerGitHub <noreply@github.com>2018-04-14 15:59:30 +0200
commit99dc1614836df2b69ee40382fc4b73546a847a60 (patch)
treebcdb09f81340880ceaf76d163cba0220d7b10bb7 /Zotlabs/Lib/ThreadItem.php
parentdb586e0c2747a5c222c6ab394c53245aeba60c8b (diff)
parentf16dc7afc8c7a866138511465a4d3362b704c33c (diff)
downloadvolse-hubzilla-99dc1614836df2b69ee40382fc4b73546a847a60.tar.gz
volse-hubzilla-99dc1614836df2b69ee40382fc4b73546a847a60.tar.bz2
volse-hubzilla-99dc1614836df2b69ee40382fc4b73546a847a60.zip
Merge pull request #7 from redmatrix/dev
Dev
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-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'),
);