Merge pull request #2875 from Hypolite/bug/profiler-small-bugfix

Fix $a to #this in save_timestamp
This commit is contained in:
Michael Vogel 2016-10-26 23:10:36 +02:00 committed by GitHub
commit 71f9e50014

View File

@ -1100,7 +1100,7 @@ class App {
}
function save_timestamp($stamp, $value) {
if (!isset($a->config['system']['profiler']) || !$a->config['system']['profiler'])
if (!isset($this->config['system']['profiler']) || !$this->config['system']['profiler'])
return;
$duration = (float)(microtime(true)-$stamp);