summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/include
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-08 22:37:26 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-08 22:37:26 -0400
commitdad93012ce94c6f79a3292a4ccb1a19612080986 (patch)
treec3cd346ac33e61e6b4d35f61cccc4254cc782319 /usr/local/www/widgets/include
parent7b94aef3fc8ae3257f9ce1e9db4c663890d6ade9 (diff)
downloadpfsense-dad93012ce94c6f79a3292a4ccb1a19612080986.zip
pfsense-dad93012ce94c6f79a3292a4ccb1a19612080986.tar.gz
Correctly close opened [ arrays and such.
Diffstat (limited to 'usr/local/www/widgets/include')
-rw-r--r--usr/local/www/widgets/include/log.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/include/log.inc b/usr/local/www/widgets/include/log.inc
index b071c6f..7afaba8 100644
--- a/usr/local/www/widgets/include/log.inc
+++ b/usr/local/www/widgets/include/log.inc
@@ -78,7 +78,7 @@ function conv_clog_filter($logfile, $tail = 8) {
$flent['time'] = $log_split[1];
$flent['act'] = $log_split[3];
- $flent['interface'] = empty($iftable[$log_split[4]) ? $log_split[4] : $iftable[$log_split[4]);
+ $flent['interface'] = empty($iftable[$log_split[4]]) ? $log_split[4] : $iftable[$log_split[4]];
$tmp = split("/", $log_split[2]);
$flent['rulenum'] = $tmp[0];
OpenPOWER on IntegriCloud