From fdf4eccfaae08b3e89770ff1be5b132201bafbf9 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 12 Mar 2018 20:51:04 +0000 Subject: [PATCH] system: cosmetic tweaks for #2083 --- src/www/system_advanced_sysctl.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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"); + +?>