Merge pull request #2875 from Hypolite/bug/profiler-small-bugfix
Fix $a to #this in save_timestamp
This commit is contained in:
commit
71f9e50014
1 changed files with 1 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -1100,7 +1100,7 @@ class App {
|
||||||
}
|
}
|
||||||
|
|
||||||
function save_timestamp($stamp, $value) {
|
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;
|
return;
|
||||||
|
|
||||||
$duration = (float)(microtime(true)-$stamp);
|
$duration = (float)(microtime(true)-$stamp);
|
||||||
|
|
Loading…
Reference in a new issue