Skip to content

Commit 2b03ff9

Browse files
committed
Merge branch 'MC-35013-2.4' of https://github.com/magento-tango/magento2ce into PR-08-10-2020
2 parents dec03a2 + 36ade1b commit 2b03ff9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/CatalogSearch/Model/Advanced.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ protected function addSearchCriteria($attribute, $value)
361361
*/
362362
protected function getPreparedSearchCriteria($attribute, $value)
363363
{
364+
$from = null;
365+
$to = null;
364366
if (is_array($value)) {
365367
if (isset($value['from']) && isset($value['to'])) {
366368
if (!empty($value['from']) || !empty($value['to'])) {

0 commit comments

Comments
 (0)