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