Verified Commit c3aa5263 authored by Helmo's avatar Helmo
Browse files

Fix sql condition

parent 35c1f9bf
Pipeline #8128 passed with stage
in 7 minutes and 49 seconds
......@@ -335,7 +335,7 @@ class bind_plugin {
chgrp($filename, $dns_config['bind_group']);
// 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
if(is_file($filename.'.err')) unlink($filename.'.err');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment