Skip to content
Snippets Groups Projects
Commit b964204b authored by Thom's avatar Thom :tools:
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent c08601c2
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,8 @@ class dns_page_action extends tform_actions {
// Replace @ to example.com.
if(stristr($this->dataRecord["name"], '@')) {
$this->dataRecord["name"] = str_replace('@', $soa['origin'], $this->dataRecord["name"]);
if($this->dataRecord["name"] === '@') {
$this->dataRecord["name"] = $soa['origin'];
}
// Replace * to *.example.com.
......
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