Skip to content
Snippets Groups Projects
Unverified Commit c3aa5263 authored by Helmo's avatar Helmo
Browse files

Fix sql condition

parent 35c1f9bf
No related branches found
No related tags found
No related merge requests found
Pipeline #8128 passed
...@@ -335,7 +335,7 @@ class bind_plugin { ...@@ -335,7 +335,7 @@ class bind_plugin {
chgrp($filename, $dns_config['bind_group']); chgrp($filename, $dns_config['bind_group']);
// Store also in the db for exports. // Store also in the db for exports.
$app->dbmaster->query("UPDATE `dns_soa` SET `rendered_zone`=?", $rendered_zone); $app->dbmaster->query("UPDATE `dns_soa` SET `rendered_zone`=? WHERE id=?", $rendered_zone, $zone['id']);
//* Check the zonefile //* Check the zonefile
if(is_file($filename.'.err')) unlink($filename.'.err'); if(is_file($filename.'.err')) unlink($filename.'.err');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment