From 1bceebd0ea4feb40cd9a9f0179cd093734b26e7e Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 12 Nov 2012 08:54:09 -0500 Subject: Fix variable reference, ticket #2679 --- usr/local/www/diag_states_summary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local') diff --git a/usr/local/www/diag_states_summary.php b/usr/local/www/diag_states_summary.php index 3bd554e..c67b668 100644 --- a/usr/local/www/diag_states_summary.php +++ b/usr/local/www/diag_states_summary.php @@ -118,7 +118,7 @@ function sort_by_ip($a, $b) { } function build_port_info($portarr, $proto) { - if (!portarr) + if (!$portarr) return ''; $ports = array(); asort($portarr); -- cgit v1.1