Skip to content
Snippets Groups Projects
Verified Commit c242ccfd authored by Frank Mably's avatar Frank Mably
Browse files

Issue #3488890 by mably: Fix warning in Encoder setSettings method

parent 37ff63e3
No related branches found
No related tags found
No related merge requests found
Pipeline #357716 passed
...@@ -394,8 +394,12 @@ class Xls implements EncoderInterface { ...@@ -394,8 +394,12 @@ class Xls implements EncoderInterface {
} }
$this->xlsFormat = $settings['xls_format']; $this->xlsFormat = $settings['xls_format'];
} }
$this->stripTags = $settings['strip_tags']; if (isset($settings['strip_tags'])) {
$this->trimValues = $settings['trim']; $this->stripTags = $settings['strip_tags'];
}
if (isset($settings['trim'])) {
$this->trimValues = $settings['trim'];
}
} }
/** /**
......
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