Commit 25c9cbe
committed
bug symfony#58739 [WebProfilerBoundle] form data collector check passed and resolved options are defined (vltrof)
This PR was submitted for the 6.4 branch but it was merged into the 5.4 branch instead.
Discussion
----------
[WebProfilerBoundle] form data collector check passed and resolved options are defined
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix symfony#58665
| License | MIT
Greetings!
When passed or resolved value casted to false (null/false) it sets wrong value what cause exceptions described in issue. Explicit check if value defined prevent this behavior
Maybe codestyle should be fixed because of ternary
Commits
-------
93faa96 profiler form data collector extart value property if it is settedFile tree
1 file changed
+4
-2
lines changed- src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | | - | |
654 | | - | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
655 | 657 | | |
656 | 658 | | |
657 | 659 | | |
| |||
0 commit comments