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

Fix $a to #this in save_timestamp
2022.09-rc
Michael Vogel 2016-10-26 23:10:36 +02:00 zatwierdzone przez GitHub
commit 71f9e50014
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);