Skip to content
Snippets Groups Projects
Commit 8cb82906 authored by Webslice's avatar Webslice Committed by Marius Burkard
Browse files

Fix php warning when adding empty spf

parent 01bf506b
No related branches found
No related tags found
No related merge requests found
...@@ -176,6 +176,8 @@ class page_action extends tform_actions { ...@@ -176,6 +176,8 @@ class page_action extends tform_actions {
} }
// Create spf-record // Create spf-record
$spf_record = [];
if (!empty($this->dataRecord['spf_mx'])) { if (!empty($this->dataRecord['spf_mx'])) {
$spf_record[] = 'mx'; $spf_record[] = 'mx';
} }
......
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