Skip to content

Commit 500f7c4

Browse files
author
Valeriy Nayda
committed
MAGETWO-52535: [FT] CreateProductAttributeEntityTest fails because product cannot be searched by attribute on Storefront
1 parent 7a247b7 commit 500f7c4

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/Search/Request

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Search/Request/Binder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ private function processData($data, $bindData)
7373
array_walk_recursive($bindData, function (&$item) {
7474
$item = trim($item);
7575
});
76-
$bindData = array_filter($bindData);
76+
$bindData = array_filter($bindData, 'strlen');
7777
foreach ($data as $key => $value) {
7878
if (is_array($value)) {
7979
$data[$key] = $this->processData($value, $bindData);

0 commit comments

Comments
 (0)