Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
better_exposed_filters
Commits
948c42fe
Commit
948c42fe
authored
Oct 25, 2020
by
NesleeCanilPinto
Committed by
Neslee
Oct 25, 2020
Browse files
Issue #3178778 by Neslee Canil Pinto: Undefined index #multiple
parent
a9ceafc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
includes/better_exposed_filters.theme.inc
includes/better_exposed_filters.theme.inc
+1
-1
No files found.
includes/better_exposed_filters.theme.inc
View file @
948c42fe
...
...
@@ -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
(
$g
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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