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