From e6c042331ddae1a5daf25c67ead77601bb9cd612 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Fri, 12 Apr 2019 16:31:17 -0400 Subject: [PATCH] Do not add bind entries for sub domaines marked for deletion Fixes #328 --- bureau/class/m_bind.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bureau/class/m_bind.php b/bureau/class/m_bind.php index 5403de51..0e448ec5 100644 --- a/bureau/class/m_bind.php +++ b/bureau/class/m_bind.php @@ -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 sb.web_action NOT IN ('DELETE') ORDER BY ENTRY ;"); $t=""; while ($db->next_record()) {