mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Revert "Correct displaying any availble default value."
This reverts commit 01c170c461.
This commit is contained in:
parent
68d1632c2a
commit
91c3133910
@ -464,7 +464,7 @@ if ($pkg['tabs'] <> "") {
|
||||
$value = $_POST[$fieldname];
|
||||
if (is_array($value)) $value = implode(',', $value);
|
||||
} else {
|
||||
if (isset($id) && $a_pkg[$id] && $a_pkg[$id][$fieldname])
|
||||
if (isset($id) && $a_pkg[$id])
|
||||
$value = $a_pkg[$id][$fieldname];
|
||||
else
|
||||
$value = $pkga['default_value'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user