]> git.mxchange.org Git - friendica.git/blobdiff - include/features.php
tag-cloud: some polishing + remove authors (we don't use it at the moment)
[friendica.git] / include / features.php
index 5ff93eacd9ac15d00931ec2f121b92fc19678e54..340394ecea36f275860877378e9c01ed74593886 100644 (file)
@@ -114,6 +114,7 @@ function get_features($filtered = true) {
                'advanced_profile' => array(
                        t('Advanced Profile Settings'),
                        array('forumlist_profile', t('List Forums'),                    t('Show visitors public community forums at the Advanced Profile Page'), false, Config::get('feature_lock','forumlist_profile')),
+                       array('tagadelic',      t('Tag Cloud'),                         t('Provide a personal tag cloud on your profile page'), false, Config::get('feature_lock', 'tagadelic')),
                ),
        );
 
@@ -125,7 +126,7 @@ function get_features($filtered = true) {
                        $kquantity = count($arr[$k]);
                        for ($y = 0; $y < $kquantity; $y ++) {
                                if (is_array($arr[$k][$y])) {
-                                       if ($arr[$k][$y][4] === false) {
+                                       if (is_null($arr[$k][$y][4])) {
                                                $has_items = true;
                                        }
                                        else {