summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2015-11-10 07:38:55 -0600
committerLuiz Otavio O Souza <luiz@netgate.com>2015-11-10 07:38:55 -0600
commit91b060ec21bd6c50737b20f2bfe11e284ac0f512 (patch)
treef7bff44b518889e005f8a780d002e64104ff229e /src/usr
parentbf6cd1526c1461d7aff67164632adc22d8e68135 (diff)
downloadpfsense-91b060ec21bd6c50737b20f2bfe11e284ac0f512.zip
pfsense-91b060ec21bd6c50737b20f2bfe11e284ac0f512.tar.gz
Fix the record type variable name. This fixes the visualization of the selected record type.
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/services_rfc2136_edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/services_rfc2136_edit.php b/src/usr/local/www/services_rfc2136_edit.php
index bd8adb0..98ae22c 100644
--- a/src/usr/local/www/services_rfc2136_edit.php
+++ b/src/usr/local/www/services_rfc2136_edit.php
@@ -271,7 +271,7 @@ $group->add(new Form_Checkbox(
'recordtype',
'Record Type',
'A (IPv4)',
- ($pconfig['keytype']=='A'),
+ ($pconfig['recordtype']=='A'),
'A'
))->displayAsRadio();
@@ -279,7 +279,7 @@ $group->add($input = new Form_Checkbox(
'recordtype',
'Record Type',
'AAAA (IPv6)',
- ($pconfig['keytype']=='AAAA'),
+ ($pconfig['recordtype']=='AAAA'),
'AAAA'
))->displayAsRadio();
@@ -287,7 +287,7 @@ $group->add($input = new Form_Checkbox(
'recordtype',
'Record Type',
'Both',
- ($pconfig['keytype']=='both'),
+ ($pconfig['recordtype']=='both'),
'both'
))->displayAsRadio();
OpenPOWER on IntegriCloud