Skip to content

Commit 7ad88e3

Browse files
ENGCOM-1523: [Backport] Fix typo in input type variable name #15146
- Merge Pull Request #15146 from dmytro-ch/magento2:fix/2.1-typo-in-input-type-variable-name - Merged commits: 1. 28d4897
2 parents 96c3e42 + 28d4897 commit 7ad88e3

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)