summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_logs_filter_summary.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-07-03 18:07:09 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-07-03 18:07:09 -0300
commitbe0af33ee0137cc92272b5f5c5c1a4a70bce82f2 (patch)
treef1422c15dedd6387eb9daccdb7c0ecc4b9cdd5fd /usr/local/www/diag_logs_filter_summary.php
parentd461583b18b84b47ba0a398b9138085fa8eb47c8 (diff)
downloadpfsense-be0af33ee0137cc92272b5f5c5c1a4a70bce82f2.zip
pfsense-be0af33ee0137cc92272b5f5c5c1a4a70bce82f2.tar.gz
Add missing $g to global, as noted on pull request 1249
Diffstat (limited to 'usr/local/www/diag_logs_filter_summary.php')
-rw-r--r--usr/local/www/diag_logs_filter_summary.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_logs_filter_summary.php b/usr/local/www/diag_logs_filter_summary.php
index 349555c..e4c11e2 100644
--- a/usr/local/www/diag_logs_filter_summary.php
+++ b/usr/local/www/diag_logs_filter_summary.php
@@ -66,7 +66,7 @@ function cmp($a, $b) {
}
function stat_block($summary, $stat, $num) {
- global $gotlines, $fields;
+ global $g, $gotlines, $fields;
uasort($summary[$stat] , 'cmp');
print "<table width=\"200\" cellpadding=\"3\" cellspacing=\"0\" border=\"1\" summary=\"source destination ip\">";
print "<tr><th colspan=\"2\">{$fields[$stat]} ".gettext("data")."</th></tr>";
OpenPOWER on IntegriCloud