]> git.mxchange.org Git - friendica.git/commitdiff
found a bug already
authorZach Prezkuta <fermion@gmx.com>
Thu, 22 Nov 2012 16:34:50 +0000 (09:34 -0700)
committerZach Prezkuta <fermion@gmx.com>
Thu, 22 Nov 2012 16:34:50 +0000 (09:34 -0700)
object/Item.php

index c513591b02826367ee8cd4d1d85bd7605f40e552..9cc9fe15a60117c46c73a7861e07e9de7c8236f1 100644 (file)
@@ -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';