Commit 815c76cb authored by joseph.olstad's avatar joseph.olstad Committed by joseph.olstad

Issue #2985057 by joseph.olstad, dmytro-aragorn, harshil.maradiya: If...

Issue #2985057 by joseph.olstad, dmytro-aragorn, harshil.maradiya: If media_bulk_upload, plupload and multiform are disabled: watchdog Notice: Undefined index multiselect in template_preprocess_media_views_view_media_browser()
parent 6436b056
......@@ -127,7 +127,7 @@ function template_preprocess_media_views_view_media_browser(&$vars) {
$vars['wrapper_suffix'] = '</div>';
$vars['list_type_prefix'] = '<' . $handler->options['type'] . ' id="media-browser-library-list" class="' . implode(' ', $class) . '">';
$vars['list_type_suffix'] = '</' . $handler->options['type'] . '>';
$vars['aria_role'] = $params['multiselect'] ? 'checkbox' : 'radio';
$vars['aria_role'] = (isset($params['multiselect']) && $params['multiselect']) ? 'checkbox' : 'radio';
// Run theming variables through a standard Views preprocess function.
template_preprocess_views_view_unformatted($vars);
......
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