Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Fix missing profiling header on ajax requests #68

Merged
merged 1 commit into from
Mar 18, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion DataCollector/XhprofCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private function getFlags()
public function stopProfiling($serverName, $uri)
{
if (!$this->collecting) {
return false;
return $this->data['xhprof'] ? $this->data['xhprof'] : false;
}

$this->collecting = false;
Expand Down