We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500f7c4 commit 3a5f9feCopy full SHA for 3a5f9fe
lib/internal/Magento/Framework/Search/Request/Binder.php
@@ -73,7 +73,10 @@ private function processData($data, $bindData)
73
array_walk_recursive($bindData, function (&$item) {
74
$item = trim($item);
75
});
76
- $bindData = array_filter($bindData, 'strlen');
+ $bindData = array_filter($bindData, function ($element) {
77
+ return is_array($element) ? count($element) : strlen($element);
78
+ });
79
+
80
foreach ($data as $key => $value) {
81
if (is_array($value)) {
82
$data[$key] = $this->processData($value, $bindData);
0 commit comments