aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-04 22:01:34 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-04 22:01:34 +0200
commit9fe9137c9689347e2be1d6bf6633956e147e368c (patch)
tree989e46b7f71da82f2144dbc85ea8d62a56c7d7fd /Zotlabs
parent363fc5c72b9e9564196375137b89e3270774f471 (diff)
downloadvolse-hubzilla-9fe9137c9689347e2be1d6bf6633956e147e368c.tar.gz
volse-hubzilla-9fe9137c9689347e2be1d6bf6633956e147e368c.tar.bz2
volse-hubzilla-9fe9137c9689347e2be1d6bf6633956e147e368c.zip
fix displaying of perm cats selector
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Settings/Channel.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/Zotlabs/Module/Settings/Channel.php b/Zotlabs/Module/Settings/Channel.php
index c473a70a4..6b49f165d 100644
--- a/Zotlabs/Module/Settings/Channel.php
+++ b/Zotlabs/Module/Settings/Channel.php
@@ -2,6 +2,8 @@
namespace Zotlabs\Module\Settings;
+use Zotlabs\Lib\Apps;
+
require_once('include/selectors.php');
@@ -551,8 +553,8 @@ class Channel {
'$suggestme' => $suggestme,
'$group_select' => $group_select,
'$role' => array('permissions_role' , t('Channel role and privacy'), $permissions_role, '', $perm_roles),
- '$defpermcat' => [ 'defpermcat', t('Default Permissions Group'), $default_permcat, '', $permcats ],
- '$permcat_enable' => feature_enabled(local_channel(),'permcats'),
+ '$defpermcat' => [ 'defpermcat', t('Default permissions category'), $default_permcat, '', $permcats ],
+ '$permcat_enable' => Apps::system_app_installed(local_channel(), 'Permission Categories'),
'$profile_in_dir' => $profile_in_dir,
'$hide_friends' => $hide_friends,
'$hide_wall' => $hide_wall,