CC-4266: Smart Block: Bit rate with 'is in the range' modifier -> 2nd range value doesn't get multiplied by 1000
-fixed
This commit is contained in:
parent
6fec9b0301
commit
f47e32d9de
1 changed files with 3 additions and 0 deletions
|
@ -1166,6 +1166,9 @@ EOT;
|
||||||
// multiply 1000 because we store only number value
|
// multiply 1000 because we store only number value
|
||||||
// e.g 192kps is stored as 192000
|
// e.g 192kps is stored as 192000
|
||||||
$spCriteriaValue = $criteria['value']*1000;
|
$spCriteriaValue = $criteria['value']*1000;
|
||||||
|
if (isset($criteria['extra'])) {
|
||||||
|
$criteria['extra'] *= 1000;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$spCriteriaValue = addslashes($criteria['value']);
|
$spCriteriaValue = addslashes($criteria['value']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue