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:
denise 2012-08-22 16:29:17 -04:00
parent 6fec9b0301
commit f47e32d9de
1 changed files with 3 additions and 0 deletions

View File

@ -1166,6 +1166,9 @@ EOT;
// multiply 1000 because we store only number value
// e.g 192kps is stored as 192000
$spCriteriaValue = $criteria['value']*1000;
if (isset($criteria['extra'])) {
$criteria['extra'] *= 1000;
}
} else {
$spCriteriaValue = addslashes($criteria['value']);
}