diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-08 22:37:26 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-08 22:37:26 -0400 |
commit | dad93012ce94c6f79a3292a4ccb1a19612080986 (patch) | |
tree | c3cd346ac33e61e6b4d35f61cccc4254cc782319 /usr | |
parent | 7b94aef3fc8ae3257f9ce1e9db4c663890d6ade9 (diff) | |
download | pfsense-dad93012ce94c6f79a3292a4ccb1a19612080986.zip pfsense-dad93012ce94c6f79a3292a4ccb1a19612080986.tar.gz |
Correctly close opened [ arrays and such.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/widgets/include/log.inc | 2 |
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]; |