Commit 8ea7cb3f authored by Gerhard Killesreiter's avatar Gerhard Killesreiter

#50181, Timer counts not properly incremented, patch by puregin

parent 8d8b816c
......@@ -39,7 +39,7 @@ function timer_start($name) {
list($usec, $sec) = explode(' ', microtime());
$timers[$name]['start'] = (float)$usec + (float)$sec;
$timers[$name]['count'] = isset($timers[$name]['count']) ? $timers[$name]['count']++ : 1;
$timers[$name]['count'] = isset($timers[$name]['count']) ? ++$timers[$name]['count'] : 1;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment