Fix $a to #this in save_timestamp

This commit is contained in:
Hypolite Petovan 2016-10-26 07:42:40 -04:00
parent 4fdced1a0a
commit 549950d0ae

View File

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