From 73bd65ead58edcb42938165144ff237c27437bbc Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 20 Sep 2016 06:05:20 -0700 Subject: 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". --- include/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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', -- cgit v1.2.3