diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-12-29 00:37:35 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-12-29 00:37:35 +0000 |
commit | a28c8b5979085a8dd807fb9661a63d2adeb73188 (patch) | |
tree | 0d5073056d1d06a5f7d527e84ac73ac3f2b68b64 /usr/local | |
parent | 77da5d3ea9941174a85760889650f6f8a8f4b60c (diff) | |
download | pfsense-a28c8b5979085a8dd807fb9661a63d2adeb73188.zip pfsense-a28c8b5979085a8dd807fb9661a63d2adeb73188.tar.gz |
Correct package header name
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/pkg.php | 4 | ||||
-rwxr-xr-x | usr/local/www/pkg_edit.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/pkg.php b/usr/local/www/pkg.php index ef5a0a7..839afe8 100755 --- a/usr/local/www/pkg.php +++ b/usr/local/www/pkg.php @@ -49,8 +49,8 @@ if($pkg['donotsave'] <> "") { header("Location: pkg_edit.php?xml=" . $xml); } -$package_name = $pkg['menu']['name']; -$section = $pkg['menu']['section']; +$package_name = $pkg['menu'][0]['name']; +$section = $pkg['menu'][0]['section']; $config_path = $pkg['configpath']; $title = $section . ": " . $package_name; diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php index 459790d..75ca5be 100755 --- a/usr/local/www/pkg_edit.php +++ b/usr/local/www/pkg_edit.php @@ -50,8 +50,8 @@ if($xml == "") { $pkg = parse_xml_config_pkg("/usr/local/pkg/" . $xml, "packagegui"); } -$package_name = $pkg['menu']['name']; -$section = $pkg['menu']['section']; +$package_name = $pkg['menu'][0]['name']; +$section = $pkg['menu'][0]['section']; $config_path = $pkg['configpath']; $title = $section . ": " . $package_name; |