Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jasir committed Apr 12, 2010
1 parent b24e87d commit b5d3c3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions RequestsPanel.php
Expand Up @@ -102,7 +102,7 @@ public function onShutdown($presenter, $response) {
$entry['response'] = substr($class, 0, strpos($class, 'Response'));

$entry['dumps']['HttpRequest'] = Debug::dump($httpRequest, TRUE);
$entry['dumps']['PresenterRequest'] = Debug::dump($application->getPresenter()->getRequest(), TRUE);
$entry['dumps']['PresenterRequest'] = Debug::dump($request, TRUE);
$entry['dumps']['PresenterResponse'] = Debug::dump($response, TRUE);

foreach(self::$dumps as $key => $dump) {
Expand All @@ -111,7 +111,6 @@ public function onShutdown($presenter, $response) {
} else {
$entry['dumps'][] = $dump;
}

}

$session = Environment::getSession('__panels__Requests');
Expand Down

0 comments on commit b5d3c3f

Please sign in to comment.