@@ -822,9 +822,9 @@ class StoreProc {
$id = 0;
foreach ($ctxList as $value) {
$ctx = explode(':', $value);
- $per += $ctx[1];
+ $per1 += $ctx[1];
- $end += $per;
+ $end += $per1;
if ($ctxPer > $start && $ctxPer <= $end) {
$id = $ctx[0];
break;