From fa60c17dbcac637d6feacd0cf8f71c445f760d0e Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Wed, 18 May 2016 13:32:44 +0200 Subject: [PATCH] fix sql-query when editing a customer; check for dnsenabled flag in customer-domain-view template Signed-off-by: Michael Kaufmann (d00p) --- admin_customers.php | 3 +-- templates/Sparkle/customer/domains/domains_edit.tpl | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/admin_customers.php b/admin_customers.php index 406439e6..7c41f687 100644 --- a/admin_customers.php +++ b/admin_customers.php @@ -724,7 +724,6 @@ if ($page == 'customers' `mysqls` = :mysqls, `standardsubdomain` = '0', `phpenabled` = :phpenabled, - `dnsenabled` = :dnsenabled, `imap` = :imap, `pop3` = :pop3, `perlenabled` = :perlenabled, @@ -1484,7 +1483,7 @@ if ($page == 'customers' `imap` = :imap, `pop3` = :pop3, `perlenabled` = :perlenabled, - `dnsenabled` = :dnsenabled + `dnsenabled` = :dnsenabled, `custom_notes` = :custom_notes, `custom_notes_show` = :custom_notes_show WHERE `customerid` = :customerid" diff --git a/templates/Sparkle/customer/domains/domains_edit.tpl b/templates/Sparkle/customer/domains/domains_edit.tpl index d7a3c9ea..1ce66b1b 100644 --- a/templates/Sparkle/customer/domains/domains_edit.tpl +++ b/templates/Sparkle/customer/domains/domains_edit.tpl @@ -4,7 +4,7 @@ $header

{$title}  {$title} - +  ({$lng['dnseditor']['edit']})