Skip to content

Commit 82f07cf

Browse files
author
Marius Burkard
committed
Merge branch 'master' into 'master'
allow active / inactive for caa :) See merge request !600
2 parents ce80876 + 6429d92 commit 82f07cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/dns/dns_caa_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function onSubmit() {
172172
}
173173

174174
// Check for duplicate
175-
$temp = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE type = 'CAA' AND name = ? AND data = ?", $this->dataRecord['name'], $this->dataRecord['data']);
175+
$temp = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE type = 'CAA' AND name = ? AND data = ? AND active = ?", $this->dataRecord['name'], $this->dataRecord['data'], $POST['active']);
176176
if(is_array($temp)) $this->error('caa_exists_error');
177177
unset($temp);
178178

0 commit comments

Comments
 (0)