From 240111bc70f96ecdf7af90da48e62b32fd4dbcd4 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Fri, 9 Dec 2022 16:23:57 +0800 Subject: [PATCH] * code task #79283. --- module/my/control.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module/my/control.php b/module/my/control.php index f4f4a98646..75e03d3233 100755 --- a/module/my/control.php +++ b/module/my/control.php @@ -962,7 +962,10 @@ EOF; } else { - $this->lang->my->auditMenu->audit = $this->my->getReviewingTypeList(); + $typeList = $this->my->getReviewingTypeList(); + if(!isset($typeList->$browseType)) $browseType = 'all'; + + $this->lang->my->auditMenu->audit = $typeList; $reviewList = $this->my->getReviewingList($browseType, $orderBy, $pager); }