Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!8378
Issue
#3453646
: Update file InOperator.php
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3453646
: Update file InOperator.php
issue/drupal-3453646:3453646-error-arraykeys-argument
into
11.x
Overview
0
Commits
1
Pipelines
1
Changes
1
Open
Prabhavathi Vanipenta
requested to merge
issue/drupal-3453646:3453646-error-arraykeys-argument
into
11.x
11 months ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
Created MR against 11.x
Edited
11 months ago
by
Prabhavathi Vanipenta
0
0
Merge request reports
Compare
11.x
11.x (HEAD)
and
latest version
latest version
a1c29c87
1 commit,
11 months ago
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
core/modules/views/src/Plugin/views/filter/InOperator.php
+
2
−
2
Options
@@ -297,7 +297,7 @@ public function reduceValueOptions($input = NULL) {
continue
;
}
elseif
(
is_object
(
$option
)
&&
!
$option
instanceof
MarkupInterface
)
{
$keys
=
array_keys
(
$option
->
option
);
$keys
=
isset
(
$option
->
option
)
&&
is_array
(
$option
->
option
)
?
array_keys
(
$option
->
option
)
:
[]
;
$key
=
array_shift
(
$keys
);
if
(
isset
(
$this
->
options
[
'value'
][
$key
]))
{
$options
[
$id
]
=
$option
;
@@ -363,7 +363,7 @@ public function adminSummary() {
// Some filter_in_operator usage uses optgroups forms, so flatten it.
$flat_options
=
OptGroup
::
flattenOptions
(
$this
->
valueOptions
);
if
(
!
is_array
(
$this
->
value
))
{
if
(
!
is_array
(
$this
->
value
)
||
$this
->
value
===
null
)
{
return
;
}
Loading