Commit 7924d881 authored by alexpott's avatar alexpott
Browse files

Issue #2003388 by nicholaspaun: Fixed HTML for menu blocks contains invalid attribute 'classes'.

parent 0e59a8d6
......@@ -2658,7 +2658,7 @@ function system_preprocess_block(&$variables) {
case 'system_menu_block':
$variables['attributes']['role'] = 'navigation';
$variables['attributes']['classes'][] = 'block-menu';
$variables['attributes']['class'][] = 'block-menu';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment