From 24625933313891b12d198b84c1d6f42d041fd3d7 Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Fri, 30 Jan 2015 09:07:09 -0500 Subject: [PATCH] Merge branch 'master' into 'master' --- interface/web/dns/dns_spf_edit.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/dns/dns_spf_edit.php b/interface/web/dns/dns_spf_edit.php index af43f15..b20a340 100644 --- a/interface/web/dns/dns_spf_edit.php +++ b/interface/web/dns/dns_spf_edit.php @@ -229,7 +229,7 @@ $this->dataRecord["stamp"] = date('Y-m-d H:i:s'); // always update an existing entry - $check=$app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = ? AND type = ? AND data LIKE 'v=spf1%' AND name = ?", $this->dataRecord["zone"], $this->dataRecord["type"], $this->dataRecord['name'].'.'); + $check=$app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = ? AND type = ? AND data LIKE 'v=spf1%' AND name = ?", $this->dataRecord["zone"], $this->dataRecord["type"], $this->dataRecord['name']); $this->id = $check['id']; if (!isset($this->dataRecord['active'])) $this->dataRecord['active'] = 'N'; -- Gitblit v1.9.1