Commit e325c34d authored by Till Brehm's avatar Till Brehm

Fixed#4966 DMARC doesn't work with php >= 7.0

parent 515de029
...@@ -287,7 +287,7 @@ class page_action extends tform_actions { ...@@ -287,7 +287,7 @@ class page_action extends tform_actions {
unset($temp); unset($temp);
} }
$fo_rec = ''; $fo_rec = array();
if (isset($this->dataRecord['dmarc_fo0'])) $fo_rec[] = '0'; if (isset($this->dataRecord['dmarc_fo0'])) $fo_rec[] = '0';
if (isset($this->dataRecord['dmarc_fo1'])) $fo_rec[] = '1'; if (isset($this->dataRecord['dmarc_fo1'])) $fo_rec[] = '1';
if (isset($this->dataRecord['dmarc_fod'])) $fo_rec[] = 'd'; if (isset($this->dataRecord['dmarc_fod'])) $fo_rec[] = 'd';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment