Merge pull request #331 from Koumbit/328-fix_duplicate_dns_entries

Do not add bind entries for sub domaines marked for deletion
This commit is contained in:
Km 2019-04-24 07:20:05 +02:00 committed by GitHub
commit 1ca9dcf406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -224,7 +224,8 @@ class m_bind {
domaines_type dt
WHERE
sd.type=dt.name
AND sd.enable IN ('ENABLE', 'ENABLED')
AND sd.enable IN ('ENABLE', 'ENABLED')
AND sd.web_action NOT IN ('DELETE')
ORDER BY ENTRY ;");
$t="";
while ($db->next_record()) {