diff options
Diffstat (limited to 'usr/local/www/firewall_aliases_edit.php')
-rwxr-xr-x | usr/local/www/firewall_aliases_edit.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index 8b9df48..194d445 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -357,8 +357,11 @@ if ($_POST) { write_config(); - header("Location: firewall_aliases.php"); - exit; + if($_POST['tab']) + header("Location: firewall_aliases.php?tab=" . htmlspecialchars ($_POST['tab'])); + else + header("Location: firewall_aliases.php"); + exit; } //we received input errors, copy data to prevent retype else @@ -573,6 +576,7 @@ EOD; <div id="inputerrors"></div> <form action="firewall_aliases_edit.php" method="post" name="iform" id="iform"> +<input name="tab" type="hidden" id="tab" value="<?=htmlspecialchars($pconfig['type']);?>" /> <table width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> <td colspan="2" valign="top" class="listtopic"><?=gettext("Alias Edit"); ?></td> |