From 626928de181a70ca8a85f4947981267afda682bb Mon Sep 17 00:00:00 2001 From: jmontoya <jmontoya@ispconfig3> Date: Fri, 06 Aug 2010 06:23:29 -0400 Subject: [PATCH] Fixing query in remoting::mail_domain_set_status --- interface/lib/classes/remoting.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/lib/classes/remoting.inc.php b/interface/lib/classes/remoting.inc.php index 9cd0510..692678f 100644 --- a/interface/lib/classes/remoting.inc.php +++ b/interface/lib/classes/remoting.inc.php @@ -2365,7 +2365,7 @@ } else { $status = 'n'; } - $sql = "UPDATE mail_domain SET active = '$status' WHERE id = ".intval($primary_id); + $sql = "UPDATE mail_domain SET active = '$status' WHERE domain_id = ".intval($primary_id); $app->db->query($sql); $result = $app->db->affectedRows(); return $result; -- Gitblit v1.9.1