diff --git a/better_formats.module b/better_formats.module index 8cfd34f..58facce 100644 --- a/better_formats.module +++ b/better_formats.module @@ -96,7 +96,7 @@ 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) { - $element['format']['format']['#access'] = FALSE; + $element['format']['#type'] = 'container'; } if (!$show_tips) { $element['format']['guidelines']['#access'] = FALSE;