Skip to content

Commit 28d4897

Browse files
committed
[Backport] Fix typo in input type variable name
1 parent 96c3e42 commit 28d4897

File tree

1 file changed

+4
-4
lines changed
  • app/code/Magento/CatalogSearch/Block/Advanced

1 file changed

+4
-4
lines changed

app/code/Magento/CatalogSearch/Block/Advanced/Form.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,16 +197,16 @@ public function getCurrency($attribute)
197197
public function getAttributeInputType($attribute)
198198
{
199199
$dataType = $attribute->getBackend()->getType();
200-
$imputType = $attribute->getFrontend()->getInputType();
201-
if ($imputType == 'select' || $imputType == 'multiselect') {
200+
$inputType = $attribute->getFrontend()->getInputType();
201+
if ($inputType == 'select' || $inputType == 'multiselect') {
202202
return 'select';
203203
}
204204

205-
if ($imputType == 'boolean') {
205+
if ($inputType == 'boolean') {
206206
return 'yesno';
207207
}
208208

209-
if ($imputType == 'price') {
209+
if ($inputType == 'price') {
210210
return 'price';
211211
}
212212

0 commit comments

Comments
 (0)