mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Don't override type so changing it is possible. Ticket #6439
This commit is contained in:
parent
be0ab08558
commit
e488da267d
@ -97,7 +97,9 @@ if (isset($_POST['id']) && is_numericint($_POST['id'])) {
|
||||
|
||||
if (isset($id) && $a_ppps[$id]) {
|
||||
$pconfig['ptpid'] = $a_ppps[$id]['ptpid'];
|
||||
$pconfig['type'] = $a_ppps[$id]['type'];
|
||||
if (!isset($_REQUEST['type'])) {
|
||||
$pconfig['type'] = $a_ppps[$id]['type'];
|
||||
}
|
||||
$pconfig['interfaces'] = explode(",", $a_ppps[$id]['ports']);
|
||||
$pconfig['username'] = $a_ppps[$id]['username'];
|
||||
$pconfig['password'] = base64_decode($a_ppps[$id]['password']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user