mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 14:42:23 +03:00
The minimize processor will trim the whitespaces from the 'fields' parameter value.
This commit is contained in:
parent
b56c3495f9
commit
f3df54fd1a
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ class Minimize implements ProcessorsInterface {
|
|||
$temporaryEntry = [];
|
||||
|
||||
foreach ($fields as $field) {
|
||||
$field = trim($field);
|
||||
if (isset($entry[$field])) {
|
||||
$temporaryEntry[$field] = $entry[$field];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue