mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +00:00
fixed dropdown box based deletion of unused params
This commit is contained in:
parent
a57f86315e
commit
379815d92b
@ -319,7 +319,7 @@ def _apply_changes(request, old_status, new_status):
|
||||
if new_status['dynamicdns_server'] == '':
|
||||
new_status['dynamicdns_server'] = EMPTYSTRING
|
||||
|
||||
if new_status['service_type'] == 'GnuDIP':
|
||||
if new_status['service_type'] == '1':
|
||||
new_status['dynamicdns_ipurl'] = EMPTYSTRING
|
||||
else:
|
||||
new_status['dynamicdns_server'] = EMPTYSTRING
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user