diff --git a/src/www/system_advanced_sysctl.php b/src/www/system_advanced_sysctl.php index 37cafeb17..b974113bf 100644 --- a/src/www/system_advanced_sysctl.php +++ b/src/www/system_advanced_sysctl.php @@ -92,18 +92,19 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { header(url_safe('Location: /system_advanced_sysctl.php')); exit; } - } legacy_html_escape_form_data($a_tunable); + if ($act != 'edit') { $main_buttons = array( array('href' => 'system_advanced_sysctl.php?act=edit', 'label' => gettext('Add a new tunable')), ); } -include("head.inc"); -?> +include("head.inc"); + +?>