diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-20 06:05:20 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-20 06:05:20 -0700 |
commit | 73bd65ead58edcb42938165144ff237c27437bbc (patch) | |
tree | d9eb1defe41d5555cd510f7b587adc806a018cc0 /include | |
parent | 8fd8ddcbc1124844bb910d714c0a6d61ee1261a7 (diff) | |
download | volse-hubzilla-73bd65ead58edcb42938165144ff237c27437bbc.tar.gz volse-hubzilla-73bd65ead58edcb42938165144ff237c27437bbc.tar.bz2 volse-hubzilla-73bd65ead58edcb42938165144ff237c27437bbc.zip |
don't offer a settings/features link for techlevel 0 (basic or pro:0) even if there are level 0 features/categories. The definition of level 0 is "don't confuse me with options".
Diffstat (limited to 'include')
-rw-r--r-- | include/widgets.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php index 0b3a0d108..9cd15dd59 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -602,7 +602,7 @@ function widget_settings_menu($arr) { ); - if(get_features()) { + if(get_account_techlevel() > 0 && get_features()) { $tabs[] = array( 'label' => t('Additional features'), 'url' => z_root().'/settings/features', |