From ccc159d3b281ba884e89c6205727e95d8e3b453a Mon Sep 17 00:00:00 2001 From: yulingwei <2436953959@qq.com> Date: Mon, 13 Apr 2020 18:43:26 +0800 Subject: [PATCH] upt --- Application/Admin/Controller/ExportController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/ExportController.class.php b/Application/Admin/Controller/ExportController.class.php index 23336ec1e..412f7f792 100644 --- a/Application/Admin/Controller/ExportController.class.php +++ b/Application/Admin/Controller/ExportController.class.php @@ -9060,7 +9060,7 @@ class ExportController extends Controller if ($level == PromoteModel::LEVEL_TEAM_MEMBER) { foreach($xlsData as &$item) { - $item['tfcount'] = $item['tfcount'] . "(" . (isset($item['ioscount']) ? round( ($item['tfcount'] / $item['ioscount']) * 100 , 2) : 0) . ")%"; + $item['tfcount'] = $item['tfcount'] . "(" . (empty($item['ioscount']) ? 0 : round( ($item['tfcount'] / $item['ioscount']) * 100 , 2)) . ")%"; } $xlsCell = array( array('account', PromoteModel::$levelArr[$level]."账号"),