Skip to content
Snippets Groups Projects
Commit 263a5a22 authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch 'bugfix/fix-php-warning-when-adding-empty-spf' into 'stable-3.1'

Fix php warning when adding empty spf

See merge request ispconfig/ispconfig3!967
parents 01bf506b 8cb82906
No related branches found
No related tags found
1 merge request!967Fix php warning when adding empty spf
...@@ -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