From f47e32d9de58ff232790f966a1feed0e1d9fef9a Mon Sep 17 00:00:00 2001 From: denise Date: Wed, 22 Aug 2012 16:29:17 -0400 Subject: [PATCH] CC-4266: Smart Block: Bit rate with 'is in the range' modifier -> 2nd range value doesn't get multiplied by 1000 -fixed --- airtime_mvc/application/models/Block.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/airtime_mvc/application/models/Block.php b/airtime_mvc/application/models/Block.php index a7b39869e..2b88568fa 100644 --- a/airtime_mvc/application/models/Block.php +++ b/airtime_mvc/application/models/Block.php @@ -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']); }