Commit 1ae99ed2 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

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

(cherry picked from commit bcd96a58)
parent a6c37087
......@@ -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