mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
firewall_nat_edit.php duplicate field
This commit is contained in:
parent
16348d265e
commit
dcb6dc8a55
@ -130,7 +130,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
if (isset($configId)) {
|
||||
// copy 1-on-1
|
||||
foreach (array('protocol','target','local-port','descr','interface','associated-rule-id','nosync'
|
||||
,'natreflection','created','updated','ipprotocol', 'ipprotocol') as $fieldname) {
|
||||
,'natreflection','created','updated','ipprotocol') as $fieldname) {
|
||||
if (isset($a_nat[$configId][$fieldname])) {
|
||||
$pconfig[$fieldname] = $a_nat[$configId][$fieldname];
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user