diff --git a/Application/Admin/Controller/TimingController.class.php b/Application/Admin/Controller/TimingController.class.php index b500187f7..f106bb3ac 100644 --- a/Application/Admin/Controller/TimingController.class.php +++ b/Application/Admin/Controller/TimingController.class.php @@ -649,7 +649,7 @@ class TimingController extends AdminController { continue; } // - if (isset($return[$value['company_id']."-".$sval['promote_id']."-".$v['relation_game_id']])) { + if (!isset($return[$value['company_id']."-".$sval['promote_id']."-".$v['relation_game_id']])) { $return[$value['company_id']."-".$sval['promote_id']."-".$v['relation_game_id']] = !$is_inside?($v['sum_money']-($v['withhold']?$v['withhold']:0)):0; } else { $return[$value['company_id']."-".$sval['promote_id']."-".$v['relation_game_id']] += !$is_inside?($v['sum_money']-($v['withhold']?$v['withhold']:0)):0;