summaryrefslogtreecommitdiff
path: root/plugins/debug_logger/runlog
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/debug_logger/runlog')
-rw-r--r--plugins/debug_logger/runlog/runlog.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/debug_logger/runlog/runlog.php b/plugins/debug_logger/runlog/runlog.php
index c9f672615..0c766a13c 100644
--- a/plugins/debug_logger/runlog/runlog.php
+++ b/plugins/debug_logger/runlog/runlog.php
@@ -194,7 +194,7 @@ class runlog {
public function print_totals(){
$totals = array();
- foreach ( $this->run_log as $k => $entry ) {
+ foreach ($this->run_log as $entry) {
if ( $entry['type'] == 'start' && $entry['ended'] == true) {
$totals[$entry['value']]['duration'] += $entry['duration'];
$totals[$entry['value']]['count'] += 1;