8000 [WebProfilerBundle] Fixed options stub values display in form profiler by HeahDude · Pull Request #22928 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[WebProfilerBundle] Fixed options stub values display in form profiler #22928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed options stub values display in form profiler
  • Loading branch information
HeahDude committed May 28, 2017
commit 5e6b3a5886144ec9f2b0568b21773c1551b1527c
< 5D9E tr data-hunk="dc7aa61886ff3e7607dafffd3eeadac3628d6a9c0acfd3f633993aae477e3715" class="show-top-border">
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,10 @@
<th>{{ option }}</th>
<td>{{ profiler_dump(value) }}</td>
<td>
{% if data.resolved_options[option] == value %}
{# values can be stubs #}
{% set option_value = value.value|default(value) %}
{% set resolved_option_value = data.resolved_options[option].value|default(data.resolved_options[option]) %}
{% if resolved_option_value == option_value %}
<em class="font-normal text-muted">same as passed value</em>
{% else %}
{{ profiler_dump(data.resolved_options[option]) }}
Expand Down
0