Skip to content

Commit c3aa448

Browse files
author
Till Brehm
committed
Fixed active checkbox in DMARD record wizard
1 parent 368ceac commit c3aa448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/dns/dns_dmarc_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function onShowEnd() {
9494
$this->id = 1;
9595
$old_data = strtolower($rec['data']);
9696
$app->tpl->setVar("data", $old_data, true);
97-
//if ($rec['active'] == 'Y') $app->tpl->setVar("active", "CHECKED"); else $app->tpl->setVar("active", "UNCHECKED");
97+
if ($rec['active'] == 'Y') $app->tpl->setVar("active", '<input name="active" id="active" value="" type="checkbox" CHECKED>'); else $app->tpl->setVar("active", '<input name="active" id="active" value="" type="checkbox">');
9898
$dmarc_rua = '';
9999
$dmarc_ruf = '';
100100
$dmac_rf = '';

0 commit comments

Comments
 (0)