Permalink
Browse files

added a missing comment

  • Loading branch information...
1 parent 9c29cff commit 55962b569b4304ce2fd9d80159ce9216d48b5a0d @fabpot fabpot committed Jul 18, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 EventListener/ProfilerListener.php
@@ -117,7 +117,8 @@ public function onKernelResponse(FilterResponseEvent $event)
array_pop($this->requests);
$parent = end($this->requests);
-
+
+ // when simulating requests, we might not have the parent
if ($parent) {
$profiles = isset($this->children[$parent]) ? $this->children[$parent] : array();
$profiles[] = $profile;

0 comments on commit 55962b5

Please sign in to comment.