Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
[WebProfiler] use SafeDecorator on index
fixes fatal error on /_profiler/:x-debug-token/request
  • Loading branch information
havvg committed Oct 10, 2010
commit 109288e0609643ebb3cbcdd2babd518cca6ca87d
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function indexAction($token)
return $this->container->get('templating')->renderResponse('WebProfilerBundle:Profiler:index.php', array(
'token' => $token,
'profiler' => new SafeDecorator($profiler),
'collector' => $profiler->get('request'),
'collector' => new SafeDecorator($profiler->get('request')),
'template' => $this->getTemplate($profiler, '_panel', 'request'),
'panel' => 'request',
));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<th>Value</th>
</tr>

<?php foreach ($data->getSessionAttributes()->getRawValue() as $key => $value): ?>
<?php foreach ($data->getSessionAttributes() as $key => $value): ?>
<tr>
<th><?php echo $key ?></th>
<td>
Expand Down