Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
3420d307
Commit
3420d307
authored
Nov 14, 2017
by
Mihail Geshoski
Browse files
MDL-60675 analytics: Apply strict comparison check
parent
55b27427
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/outputcomponents.php
View file @
3420d307
...
...
@@ -1137,7 +1137,7 @@ class single_select implements renderable, templatable {
'selected'
=>
strval
(
$this
->
selected
)
===
strval
(
$optvalue
),
];
if
(
$hasnothing
&&
$nothingkey
==
$optvalue
)
{
if
(
$hasnothing
&&
$nothingkey
==
=
$optvalue
)
{
$option
[
'ignore'
]
=
'data-ignore'
;
}
...
...
@@ -1157,7 +1157,7 @@ class single_select implements renderable, templatable {
'optgroup'
=>
false
];
if
(
$hasnothing
&&
$nothingkey
==
$value
)
{
if
(
$hasnothing
&&
$nothingkey
==
=
$value
)
{
$option
[
'ignore'
]
=
'data-ignore'
;
}
...
...
Write
Preview
Supports
Markdown
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