summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-08-05 00:49:02 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-08-05 00:49:02 +0000
commit0bf97bed03e7b138f1bae4f0c5ce857abed19787 (patch)
tree4238201560973467e835328d49a08060c8520715 /includes
parent88c6184c2511a9a07fb218ada179c832ddc19ea8 (diff)
downloadbrdo-0bf97bed03e7b138f1bae4f0c5ce857abed19787.tar.gz
brdo-0bf97bed03e7b138f1bae4f0c5ce857abed19787.tar.bz2
- #27853: PHP notices.
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 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;
}
/**