Skip to content

Commit 263a5a2

Browse files
author
Marius Burkard
committed
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
2 parents 01bf506 + 8cb8290 commit 263a5a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

interface/web/dns/dns_spf_edit.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ function onSubmit() {
176176
}
177177

178178
// Create spf-record
179+
$spf_record = [];
180+
179181
if (!empty($this->dataRecord['spf_mx'])) {
180182
$spf_record[] = 'mx';
181183
}

0 commit comments

Comments
 (0)