Commit 963cd58f authored by nikita_tt's avatar nikita_tt Committed by Rick Hawkins
Browse files

Issue #2933528 by nikita_tt, NickWilde: Attribute "class" should be an array

parent 0c3dcb65
......@@ -1220,7 +1220,9 @@ Title Desc|Z -> A</pre> Leave the replacement text blank to remove an option alt
'#title' => $form['#info']["filter-$label"]['label'] ?: '',
'#description' => $form['#info']["filter-$label"]['description'] ?: '',
// Needed to keep styling consistent with other exposed options.
'#attributes' => array('class' => 'form-item'),
'#attributes' => [
'class' => ['form-item'],
],
'#value' => NULL,
],
];
......
Supports Markdown
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