summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-02-27 13:46:01 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-02-27 13:46:01 +0000
commit8ea7cb3f484244fa8d3fd2f34848b460ba1e79b2 (patch)
tree6704dcf12454cebd871f78c7bf337920d7115fa0 /includes
parent8d8b816ca54d890a69972e1cc7643acedee08a19 (diff)
downloadbrdo-8ea7cb3f484244fa8d3fd2f34848b460ba1e79b2.tar.gz
brdo-8ea7cb3f484244fa8d3fd2f34848b460ba1e79b2.tar.bz2
#50181, Timer counts not properly incremented, patch by puregin
Diffstat (limited to 'includes')
-rw-r--r--includes/bootstrap.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index a6e5e9b8a..05b172bea 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;
}
/**