diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-24 01:14:48 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-24 01:14:48 +0000 |
commit | 5dbd65a3d638cf45fb74637b933edf1db51e8a41 (patch) | |
tree | 414698b54216a7219fac6fb1654c4ccb923772e0 | |
parent | 4fcae58f72924bd154206e625f477651d17a3c05 (diff) | |
download | pfsense-5dbd65a3d638cf45fb74637b933edf1db51e8a41.zip pfsense-5dbd65a3d638cf45fb74637b933edf1db51e8a41.tar.gz |
Do not show blank tab names
-rwxr-xr-x | usr/local/www/guiconfig.inc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index 20bd038..d5d7b38 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -986,10 +986,12 @@ function add_package_tabs($tabgroup, & $tab_array) { if ($tab['group'] !== $group) continue; $tab_entry = array(); - $tab_entry[] = $tab['name']; - $tab_entry[] = false; - $tab_entry[] = $tab['url']; - $tab_array[] = $tab_entry; + if($tab['name']) { + $tab_entry[] = $tab['name']; + $tab_entry[] = false; + $tab_entry[] = $tab['url']; + $tab_array[] = $tab_entry; + } } } |