From 91b060ec21bd6c50737b20f2bfe11e284ac0f512 Mon Sep 17 00:00:00 2001 From: Luiz Otavio O Souza Date: Tue, 10 Nov 2015 07:38:55 -0600 Subject: Fix the record type variable name. This fixes the visualization of the selected record type. --- src/usr/local/www/services_rfc2136_edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/usr/local/www/services_rfc2136_edit.php') 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(); -- cgit v1.1