From beec28cc6298eb91ef512e582ae44e21ee55174c Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Thu, 22 Nov 2012 09:34:50 -0700 Subject: [PATCH] found a bug already --- object/Item.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/object/Item.php b/object/Item.php index c513591b02..9cc9fe15a6 100644 --- a/object/Item.php +++ b/object/Item.php @@ -185,10 +185,13 @@ class Item extends BaseObject { 'classundo' => (($item['starred']) ? "" : "hidden"), 'starred' => t('starred'), ); - $tagger = array( - 'add' => ((feature_enabled($conv->get_profile_owner(),'commtag')) ? t("add tag") : ''), - 'class' => "", - ); + $tagger = ''; + if(feature_enabled($conv->get_profile_owner(),'commtag')) { + $tagger = array( + 'add' => t("add tag"), + 'class' => "", + ); + } } } else { $indent = 'comment'; -- 2.39.5