From 8ea7cb3f484244fa8d3fd2f34848b460ba1e79b2 Mon Sep 17 00:00:00 2001
From: Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>
Date: Mon, 27 Feb 2006 13:46:01 +0000
Subject: [PATCH] #50181, Timer counts not properly incremented, patch by
 puregin

---
 includes/bootstrap.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index a6e5e9b8a785..05b172bea14a 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -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;
 }
 
 /**
-- 
GitLab