diff --git a/better_formats.module b/better_formats.module index 8cfd34f..7ab9e37 100644 --- a/better_formats.module +++ b/better_formats.module @@ -95,6 +95,9 @@ function better_formats_filter_process_format($element) { } $show_tips = user_access('show format tips'); $show_tips_link = user_access('show more format tips link'); + if (!$show_selection && !$show_tips && !$show_tips_link) { + $element['format']['#access'] = FALSE; + } if (!$show_selection) { $element['format']['format']['#access'] = FALSE; }