Commit 948c42fe authored by NesleeCanilPinto's avatar NesleeCanilPinto Committed by Neslee
Browse files

Issue #3178778 by Neslee Canil Pinto: Undefined index #multiple

parent a9ceafc3
......@@ -215,7 +215,7 @@ function template_preprocess_bef_links(array &$variables) {
// with the entire options array and remove items from it as needed.
$urlOptions = $url->getOptions();
if ($element['#multiple']) {
if (isset($gelement['#multiple'])) {
$newQuery = isset($existing_query[$name]) ? $existing_query[$name] : [];
if (in_array($optionValue, $selectedValues)) {
// Allow users to toggle an option using the same link.
......
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