From: Zach Prezkuta Date: Thu, 22 Nov 2012 16:34:50 +0000 (-0700) Subject: found a bug already X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=beec28cc6298eb91ef512e582ae44e21ee55174c;p=friendica.git found a bug already --- 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';