summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/bootstrap.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 2e5b316f7..07aa5c226 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -35,7 +35,7 @@ function timer_start($name) {
list($usec, $sec) = explode(' ', microtime());
$timers[$name]['start'] = (float)$usec + (float)$sec;
- $timers[$name]['count']++;
+ $timers[$name]['count'] = isset($timers[$name]['count']) ? $timers[$name]['count']++ : 1;
}
/**