diff --git a/bureau/class/m_bind.php b/bureau/class/m_bind.php index 7c903a47..6ffcb9e1 100644 --- a/bureau/class/m_bind.php +++ b/bureau/class/m_bind.php @@ -226,7 +226,8 @@ class m_bind { sd.type=dt.name AND sd.enable IN ('ENABLE', 'ENABLED') AND sd.web_action NOT IN ('DELETE') - ORDER BY ENTRY ;"); + AND sd.domaine = ? + ORDER BY ENTRY ;", array($domain)); $t=""; while ($db->next_record()) { $t.= $db->f('ENTRY')."\n";