add 'guid' to list of exception to filter out
This commit is contained in:
parent
a842eda0ec
commit
0de86ff282
@ -93,6 +93,13 @@ class ORMQueryBuilderLoader implements EntityLoaderInterface
|
|||||||
$values = array_values(array_filter($values, function ($v) {
|
$values = array_values(array_filter($values, function ($v) {
|
||||||
return (string) $v === (string) (int) $v;
|
return (string) $v === (string) (int) $v;
|
||||||
}));
|
}));
|
||||||
|
} elseif ('guid' === $metadata->getTypeOfField($identifier)) {
|
||||||
|
$parameterType = Connection::PARAM_STR_ARRAY;
|
||||||
|
|
||||||
|
// Like above, but we just filter out empty strings.
|
||||||
|
$values = array_values(array_filter($values, function ($v) {
|
||||||
|
return (string) $v !== '';
|
||||||
|
}));
|
||||||
} else {
|
} else {
|
||||||
$parameterType = Connection::PARAM_STR_ARRAY;
|
$parameterType = Connection::PARAM_STR_ARRAY;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user