Skip to content

Commit 0d1297b

Browse files
author
Till Brehm
committed
Merge branch '6657-active-state-in-dns-dmarc-editor-not-shown-correctly' into 'develop'
Resolve "Active state in DNS DMARC editor not shown correctly" Closes #6657 See merge request ispconfig/ispconfig3!1859
2 parents 1781190 + c3aa448 commit 0d1297b

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)