[DoctrineBundle] Fixed incorrectly shown params

After the changes in #2733, the parameters to Doctrine queries were
always shown as 'Array' in the profiler. This commit puts back the
yaml_encode that is still needed after all.
This commit is contained in:
Arnout Boks 2011-12-16 08:08:01 +01:00
parent 9e38d6a18f
commit 662fdc3a0e

View File

@ -36,7 +36,7 @@
<code>{{ query.sql }}</code>
</div>
<small>
<strong>Parameters</strong>: {{ query.params }}<br />
<strong>Parameters</strong>: {{ query.params|yaml_encode }}<br />
<strong>Time</strong>: {{ '%0.2f'|format(query.executionMS * 1000) }} ms
</small>
</li>