Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
better_exposed_filters
Commits
2625e055
Commit
2625e055
authored
Oct 25, 2020
by
NesleeCanilPinto
Committed by
Neslee
Oct 25, 2020
Browse files
Issue #3178778 by Neslee Canil Pinto: Undefined index #multiple
parent
a7944148
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/better_exposed_filters.theme.inc
View file @
2625e055
...
...
@@ -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
(
$element
[
'#multiple'
])
)
{
$newQuery
=
isset
(
$existing_query
[
$name
])
?
$existing_query
[
$name
]
:
[];
if
(
in_array
(
$optionValue
,
$selectedValues
))
{
// Allow users to toggle an option using the same link.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment