Skip to content

Commit

Permalink
fix: reset limit changing template
Browse files Browse the repository at this point in the history
  • Loading branch information
edmondas committed Dec 2, 2023
1 parent 992e946 commit c051086
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/DnsRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -1677,6 +1677,7 @@ public function update_zone_records($db_type, $dns_ttl, int $zone_id, int $zone_
$record_id = $this->db->lastInsertId();
}

$this->db->setLimit(0);
$query = "INSERT INTO records_zone_templ (domain_id, record_id, zone_templ_id) VALUES ("
. $this->db->quote($zone_id, 'integer') . ","
. $this->db->quote($record_id, 'integer') . ","
Expand Down

0 comments on commit c051086

Please sign in to comment.