The minimize processor will trim the whitespaces from the 'fields' parameter value.

This commit is contained in:
Alex Tselegidis 2016-07-10 14:01:25 +02:00
parent b56c3495f9
commit f3df54fd1a
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ class Minimize implements ProcessorsInterface {
$temporaryEntry = [];
foreach ($fields as $field) {
$field = trim($field);
if (isset($entry[$field])) {
$temporaryEntry[$field] = $entry[$field];
}