Skip to content

Commit e1904b3

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Update profiler.rst
2 parents 99f8596 + 9076529 commit e1904b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

profiler.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,11 @@ event::
206206
if (!$this->getKernel()->isDebug()) {
207207
return;
208208
}
209+
210+
$request = $event->getRequest();
211+
if (!$request->isXmlHttpRequest()) {
212+
return;
213+
}
209214

210215
$response = $event->getResponse();
211216
$response->headers->set('Symfony-Debug-Toolbar-Replace', 1);

0 commit comments

Comments
 (0)