From ad1eea8a1a1cc14c3cbd210228e162dc55b58f10 Mon Sep 17 00:00:00 2001 From: A. Täffner <darkalex@firesplash.de> Date: Thu, 07 Apr 2016 04:14:47 -0400 Subject: [PATCH] Fixed cron to update serial and not sign directly. This now issues a job for the cron server which will then generate the zone and sign it. cleaner solution AND fixes a possible replication (zone-transfer) issue. --- interface/lib/classes/db_mysql.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/lib/classes/db_mysql.inc.php b/interface/lib/classes/db_mysql.inc.php index edd1f7a..c7105ec 100644 --- a/interface/lib/classes/db_mysql.inc.php +++ b/interface/lib/classes/db_mysql.inc.php @@ -678,7 +678,7 @@ $old_rec = array(); $index_value = $this->insertID(); - $new_rec = $this->queryOneRecord("SELECT * FROM ?? WHERE ? = ?", $tablename, $index_field, $index_value); + $new_rec = $this->queryOneRecord("SELECT * FROM ?? WHERE ?? = ?", $tablename, $index_field, $index_value); $this->datalogSave($tablename, 'INSERT', $index_field, $index_value, $old_rec, $new_rec); return $index_value; -- Gitblit v1.9.1