From 818c54ee199c0f3071eeb8da276b7f6462f0cfb0 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 6 Nov 2010 15:34:36 -0400 Subject: Do not use sub array --- usr/local/www/status_graph.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php index 2ec071f..c674cbc 100755 --- a/usr/local/www/status_graph.php +++ b/usr/local/www/status_graph.php @@ -55,8 +55,8 @@ else $height = "200"; // Get configured interface list -$ifdescrs = get_configured_interface_with_descr(true); -$ifdescrs[] = array("enc0", "IPSEC"); +$ifdescrs = get_configured_interface_with_descr(); +$ifdescrs["enc0"] = "IPSEC"; if ($_GET['if']) { $curif = $_GET['if']; -- cgit v1.1