Commit bcd96a58 authored by Ad Schellevis's avatar Ad Schellevis

(legacy, interfaces) it doesn't look very usefull to fill empty "provider" with 1.

parent 7f9fcfb2
......@@ -1015,8 +1015,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$new_ppp_config['password'] = base64_encode($pconfig['pppoe_password']);
if (!empty($pconfig['provider'])) {
$new_ppp_config['provider'] = $pconfig['provider'];
} else {
$new_ppp_config['provider'] = true;
}
$new_ppp_config['ondemand'] = !empty($pconfig['pppoe_dialondemand']);
if (!empty($pconfig['pppoe_idletimeout'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment