Skip to content

Commit 238ce85

Browse files
authored
Merge pull request #1 from sarron93/sarron93-issues-29213
Fix Issues 29213
2 parents 2841088 + 2af8717 commit 238ce85

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Backend/Block/Widget/Grid/Column/Filter

1 file changed

+2
-2
lines changed

app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Price.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ public function getCondition()
194194
$rate = $this->_getRate($displayCurrency, $this->_getColumnCurrencyCode());
195195

196196
if (isset($value['from'])) {
197-
$value['from'] *= $rate;
197+
$value['from'] = (float) $value['from'] * $rate;
198198
}
199199

200200
if (isset($value['to'])) {
201-
$value['to'] *= $rate;
201+
$value['to'] = (float) $value['to'] * $rate;
202202
}
203203

204204
$this->prepareRates($displayCurrency);

0 commit comments

Comments
 (0)