diff --git a/Application/Admin/Controller/ToolController.class.php b/Application/Admin/Controller/ToolController.class.php index be5b563cd..7b9c19780 100644 --- a/Application/Admin/Controller/ToolController.class.php +++ b/Application/Admin/Controller/ToolController.class.php @@ -937,13 +937,13 @@ class ToolController extends ThinkController { ->count(); foreach ($datas as $key => $data) { $limit_rule = ''; - if ( $data['user_total_limit']) { + if (!empty(intval($data['user_total_limit']))) { $limit_rule .= '玩家全渠道总流水限额'.$data['user_total_limit']."    "; } - if ( $data['total_limit']) { + if (!empty(intval($data['total_limit']))) { $limit_rule .= '全渠道总流水限额'.$data['total_limit']."    "; } - if ( $data['user_one_limit']) { + if (!empty(intval($data['user_one_limit']))) { $limit_rule .= '玩家单笔限制'.$data['user_one_limit']; } if ($limit_rule == '') {