From 72bed8fa505b0db7b15f6c3fa59e2a12ec747e82 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Thu, 18 Apr 2024 13:59:25 +0800 Subject: [PATCH] * Fix nc and auditplan browseType default value bug. --- module/my/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/my/control.php b/module/my/control.php index 60608660da..f4ddc01038 100755 --- a/module/my/control.php +++ b/module/my/control.php @@ -869,6 +869,7 @@ class my extends control */ public function auditplan(string $browseType = 'myChecking', int $param = 0, string $orderBy = 'id_desc', int $recTotal = 0, int $recPerPage = 20, int $pageID = 1) { + if(!$browseType) $browseType = 'myChecking'; /* Set session. */ $this->session->set('auditplanList', $this->app->getURI(true)); @@ -915,6 +916,7 @@ class my extends control */ public function nc(string $browseType = 'assignedToMe', int $param = 0, string $orderBy = 'id_desc', int $recTotal = 0, int $recPerPage = 20, int $pageID = 1) { + if(!$browseType) $browseType = 'assignedToMe'; /* Set session. */ $this->session->set('ncList', $this->app->getURI(true));