Fix typo in query to update domain type

Fixes #339
This commit is contained in:
Kienan Stewart 2019-05-13 17:12:05 -04:00
parent 1dbe646724
commit 753c27a9cf
No known key found for this signature in database
GPG Key ID: 075A846E78FE47EA
1 changed files with 1 additions and 1 deletions

View File

@ -560,7 +560,7 @@ class m_dom {
$has_https_option = intval($has_https_option);
$create_tmpdir = intval($create_tmpdir);
$create_targetdir = intval($create_targetdir);
$db->query("UPDATE domaines_type SET description= ?, target= ?, entry= ?, compatibility= ?, enable= e, need_dns= ?, only_dns= ?, advanced= ?,create_tmpdir= ?,create_targetdir= ?, has_https_option=? where name= ?;", array($description, $target, $entry, $compatibility, $enable, $need_dns, $only_dns, $advanced, $create_tmpdir, $create_targetdir, $has_https_option, $name));
$db->query("UPDATE domaines_type SET description= ?, target= ?, entry= ?, compatibility= ?, enable= ?, need_dns= ?, only_dns= ?, advanced= ?,create_tmpdir= ?,create_targetdir= ?, has_https_option=? where name= ?;", array($description, $target, $entry, $compatibility, $enable, $need_dns, $only_dns, $advanced, $create_tmpdir, $create_targetdir, $has_https_option, $name));
return true;
}