From 1965c3b367244c19f34009717ea8bcf53f499d02 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 21 Jun 2013 07:49:56 -0400
Subject: [PATCH] Remove confusing note about closing ?> tag and no characters after it. We currently do not require closing tag in config file, we also correctly handle characters after the closing tag (#1489179)
---
plugins/debug_logger/runlog/runlog.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/debug_logger/runlog/runlog.php b/plugins/debug_logger/runlog/runlog.php
index c9f6726..0c766a1 100644
--- a/plugins/debug_logger/runlog/runlog.php
+++ b/plugins/debug_logger/runlog/runlog.php
@@ -194,7 +194,7 @@
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;
--
Gitblit v1.9.1