summaryrefslogtreecommitdiff
path: root/includes/timer.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/timer.inc')
-rw-r--r--includes/timer.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/timer.inc b/includes/timer.inc
index 7e2e9d21a..e6740f366 100644
--- a/includes/timer.inc
+++ b/includes/timer.inc
@@ -5,7 +5,7 @@ $timer = 0;
function timer_print() {
global $timer;
$stop = explode(" ", microtime());
- $diff = $timer[0] - $stop[0];
+ $diff = $stop[0] - $timer[0];
print "<PRE>execution time: $diff ms</PRE>";
}