fix sql-query when editing a customer; check for dnsenabled flag in customer-domain-view template

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-05-18 13:32:44 +02:00
parent b4c7fb574c
commit fa60c17dbc
2 changed files with 2 additions and 3 deletions

View File

@@ -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"